[duplicates] enable duplicates analysis in PyCharm/WebStorm/PhpStorm/RubyMine
[idea/community.git] / java / java-tests / testData / inspection / explicitMinMaxCheck / beforeAssignmentInReturn.java
1 // "Replace with 'Math.max'" "true"
2 class Test {
3
4   int field;
5
6   int max(int i, int j) {
7     if<caret>(i > j) return field = i;
8     else return field = j;
9   }
10 }