Skip to content

Commit aae8786

Browse files
committed
Small refactoring.
1 parent 1ff021a commit aae8786

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/brunomnsilva/smartgraph/graphview/SmartGraphPanel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1168,7 +1168,7 @@ private int getMaxMultiplicityIndexBetween(SmartGraphVertexNode<V> v, SmartGraph
11681168

11691169
if(in == v && out == u || in == u && out == v) {
11701170
int cur = edge.getMultiplicityIndex();
1171-
max = (cur > max) ? cur : max;
1171+
max = Math.max(cur, max);
11721172
}
11731173
}
11741174

0 commit comments

Comments
 (0)