summaryrefslogtreecommitdiff
path: root/java/java-tests/testData/codeInsight/invertIfCondition/afterParenthesis1.java
blob: 4584077665e2b6e965cedfd3ff0862b20e653358 (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);
            }
        }
}