Skip to content

Commit

Permalink
Remove usage reporter classes and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mdoube committed Apr 5, 2024
1 parent 10a615e commit d010832
Show file tree
Hide file tree
Showing 31 changed files with 0 additions and 1,041 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ public void run(final String arg) {
ri.setResultInRow(imp, "Connectivity", connectivity);
ri.setResultInRow(imp, "Conn.D (" + imp.getCalibration().getUnit() + "^-3)", connDensity);
ri.updateTable();
UsageReporter.reportEvent(this).send();
return;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ public void run(final String arg) {
imp.setStack(null, stack);

imp.show();
UsageReporter.reportEvent(this).send();
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ public void run(final String arg) {
IJ.error("Can't calibrate image\n" + e.getMessage());
return;
}
UsageReporter.reportEvent(this).send();
}

private static void scanco(final ImagePlus imp) throws IllegalArgumentException {
Expand Down
1 change: 0 additions & 1 deletion Legacy/bonej/src/main/java/org/bonej/plugins/Moments.java
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,6 @@ public void run(final String arg) {

if (doAxes3D) show3DAxes(imp, E.getV(), centroid, startSlice, endSlice, min,
max);
UsageReporter.reportEvent(this).send();
}

/**
Expand Down
2 changes: 0 additions & 2 deletions Legacy/bonej/src/main/java/org/bonej/plugins/Orienteer.java
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,6 @@ public Orienteer() {
if (WindowManager.getImageCount() == 0) return;
final ImagePlus imp = WindowManager.getCurrentImage();
setup(imp);

UsageReporter.reportEvent(this).send();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,6 @@ public void run(final String arg) {
}
IJ.showProgress(1.0);
IJ.showStatus("Particle Analysis Complete");
UsageReporter.reportEvent(this).send();
}

/**
Expand Down
1 change: 0 additions & 1 deletion Legacy/bonej/src/main/java/org/bonej/plugins/Purify.java
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ public void run(final String arg) {
if (showPerformance) {
showResults(duration, imp);
}
UsageReporter.reportEvent(this).send();
}


Expand Down
83 changes: 0 additions & 83 deletions Legacy/bonej/src/main/java/org/bonej/plugins/ReporterOptions.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,6 @@ else if (roi.getType() != Roi.RECTANGLE) {
if (do3DAnnotation) {
show3DAxes(imp);
}
UsageReporter.reportEvent(this).send();
}

private void initOrientationCheckBox(final GenericDialog gd) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ public void run(final String arg) {
if (doRoiMan) {
addToRoiManager(imp, roiMan, sphereDim, clearRois);
}
UsageReporter.reportEvent(this).send();
}

/**
Expand Down
Loading

0 comments on commit d010832

Please sign in to comment.