mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-07-20 09:27:27 +07:00
Before when removing more than one element, nextLeaf was invalid as well. The invalidation check below did not work as parent might still exist (element might be relinked to dummy file) Fixes IDEA-187531 "Add on demand static import" with intervening comment and an empty line breaks code
11 lines
262 B
Java
11 lines
262 B
Java
class Test {
|
|
void h(int i, String[] s, String[] t) {
|
|
final String s1 = newMethod(t[i], s[t[i].length()]);
|
|
System.out.println(s1);
|
|
}
|
|
|
|
private String newMethod(String s, String s11) {
|
|
System.out.println(s11);
|
|
return s11;
|
|
}
|
|
} |