Files
openide/java/java-tests/testData/codeInsight/invertIfCondition/afterParenthesis1.java
2014-12-06 10:57:22 +03:00

11 lines
296 B
Java

// "Invert 'if' condition" "true"
class Inversion {
public void context(boolean a, boolean b, boolean c) {
if ((!a || !b) && !c) {
System.out.println(1);
}
else {
System.out.println(0);
}
}
}