Skip to content

Commit

Permalink
[Truffle] Change Integer.max to Math.max
Browse files Browse the repository at this point in the history
  • Loading branch information
bjfish committed May 22, 2015
1 parent a7e499a commit 437fb00
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ private static int max(int[] values) {
int max = Integer.MIN_VALUE;

for (int n = 0; n < values.length; n++) {
max = Integer.max(max, values[n]);
max = Math.max(max, values[n]);
}

return max;
Expand Down

0 comments on commit 437fb00

Please sign in to comment.