Skip to content

Commit

Permalink
start fixing javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Sep 8, 2024
1 parent 0b9ac24 commit 1b303e8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
8 changes: 4 additions & 4 deletions src/main/java/ai/nets/samj/ij/SAMJ_Annotator.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ public class SAMJ_Annotator implements PlugIn {

/**
* Run the plugin
* @throws InterruptedException
* @throws IOException
* @throws InterruptedException if there is any thread interruption error
* @throws IOException if there is any file error
*/
public void run() throws IOException, InterruptedException {

Expand Down Expand Up @@ -115,8 +115,8 @@ public void windowClosing(WindowEvent e) {
* method for tesitng during development
* @param args
* nothing
* @throws InterruptedException
* @throws IOException
* @throws InterruptedException if there is any thread related error
* @throws IOException if there is any file related error
*/
public static void main(String[] args) throws IOException, InterruptedException {
ImageJ ij = new ImageJ();
Expand Down
8 changes: 1 addition & 7 deletions src/main/java/ai/nets/samj/ij/ui/IJ1PromptsProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -559,13 +559,7 @@ void addToRoiManager(final List<Polygon> polys, final String promptShape) {

/**
* Add a single polygon to the ROI manager
* @param p
* the polygon to be added
* @param resultNumber
* this is for when various polygon are added at the same time from one prompt.
* It is the position in the list of polygons produced by SAM, if not just 0
* @param promptShape
* String giving information about which prompt was used to generate the ROI
* @param pRoi
*/
public void addToRoiManager(final PolygonRoi pRoi ) {
if (isAddingToRoiManager) roiManager.addRoi(pRoi);
Expand Down

0 comments on commit 1b303e8

Please sign in to comment.