summaryrefslogtreecommitdiff
path: root/java/java-tests/testData/codeInsight/invertIfCondition/afterInsideForeach.java
blob: cf1f9565331fd46bd9c1ed19fe8cba695e22c9fb (plain)
1
2
3
4
5
6
7
8
9
10
11
// "Invert If Condition" "true"
class Foo {
    void foo(String[] args) {
        for (String s : args) {
            <caret>if (!"6".equals(s)) {
                continue;
            }
            System.out.println(s);
        }
    }
}