mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 13:39:36 +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
12 lines
243 B
Java
12 lines
243 B
Java
class Test {
|
|
|
|
public static void main(String[] args) {
|
|
newMethod();
|
|
System.out.println("hello");
|
|
}
|
|
|
|
private static void newMethod() {
|
|
System.out.println("hello");
|
|
System.out.println("hello");
|
|
}
|
|
} |