Skip to content

Commit 31b7108

Browse files
make some methods private that are not used anywhere
1 parent 6af8960 commit 31b7108

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/net/preibisch/stitcher/gui/overlay/DemoLinkOverlay.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ else if ( overlapsWith( p, results.getPairwiseLinks() ) )
203203
}
204204
}
205205

206-
public static boolean overlapsWith( final Pair<Group<ViewId>, Group<ViewId>> p1, final Collection< Pair<Group<ViewId>, Group<ViewId>>> pairList )
206+
private static boolean overlapsWith( final Pair<Group<ViewId>, Group<ViewId>> p1, final Collection< Pair<Group<ViewId>, Group<ViewId>>> pairList )
207207
{
208208
for ( final Pair<Group<ViewId>, Group<ViewId>> p2 : pairList )
209209
if ( overlapsWith( p1, p2 ) )
@@ -212,7 +212,7 @@ public static boolean overlapsWith( final Pair<Group<ViewId>, Group<ViewId>> p1,
212212
return false;
213213
}
214214

215-
public static boolean overlapsWith( final Pair<Group<ViewId>, Group<ViewId>> p1, final Pair<Group<ViewId>, Group<ViewId>> p2 )
215+
private static boolean overlapsWith( final Pair<Group<ViewId>, Group<ViewId>> p1, final Pair<Group<ViewId>, Group<ViewId>> p2 )
216216
{
217217
boolean overlap1 = false;
218218
boolean overlap2 = false;

0 commit comments

Comments
 (0)