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