Skip to content

Commit

Permalink
Change code style.
Browse files Browse the repository at this point in the history
  • Loading branch information
tinevez committed Feb 21, 2024
1 parent 085b50a commit 098ff28
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main/java/org/mastodon/util/TreeUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
import org.mastodon.graph.Vertex;
import org.mastodon.mamut.model.Model;
import org.mastodon.mamut.model.Spot;
import org.mastodon.pool.PoolCollectionWrapper;

public class TreeUtils
{
Expand Down Expand Up @@ -239,7 +238,7 @@ private static < V extends Vertex<E>, E extends Edge< V > > RefSet< V > filterRo
public static int getMinTimepoint( final Model model )
{
int minTimepoint = Integer.MAX_VALUE;
for ( Spot spot : model.getGraph().vertices() )
for ( final Spot spot : model.getGraph().vertices() )
minTimepoint = Math.min( minTimepoint, spot.getTimepoint() );
return minTimepoint;
}
Expand All @@ -252,7 +251,7 @@ public static int getMinTimepoint( final Model model )
public static int getMaxTimepoint( final Model model )
{
int max = 0;
for ( Spot spot : model.getGraph().vertices() )
for ( final Spot spot : model.getGraph().vertices() )
max = Math.max( max, spot.getTimepoint() );
return max;
}
Expand Down

0 comments on commit 098ff28

Please sign in to comment.