mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
do not need parenthesis for associative operations (IDEADEV-41569); move to java-tests
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
class A {
|
||||
private class Inner {
|
||||
public void innerMethod() {
|
||||
new Runnable() {
|
||||
public void run() {
|
||||
if (true) {
|
||||
if (true) {
|
||||
int i = 0;
|
||||
int temp = i * i;
|
||||
if (i == 0) {
|
||||
System.out.println("" + temp);
|
||||
} else {
|
||||
System.out.println("" + temp);
|
||||
i = temp;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}.run();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user