Files
openide/java/java-tests/testData/inspection/manualMinMaxCalculation/beforeInnerConditional.java
Bas Leijdekkers 312cbd98d6 show method calls with () in "Manual min/max calculation" inspection messages
GitOrigin-RevId: 0be6faa7bd6ea391f53bc811fe8f3124424fd950
2022-01-31 10:13:14 +00:00

7 lines
143 B
Java

// "Replace with 'Math.max()' call" "true"
class Test {
void test(int a, int b, int c) {
int d = a > b ? <caret>a > c ? a : c : b;
}
}