summaryrefslogtreecommitdiff
path: root/java/java-tests/testData/codeInsight/invertIfCondition/afterParenthesis3.java
blob: ca8ef27512f5af4e1964a656e7f5415cdc1ac226 (plain)
1
2
3
4
5
6
7
8
9
10
11
// "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);
            }
        }
}