mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 09:19:13 +07:00
preserve comments: split declarations
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
// "Split into declaration and assignment" "true"
|
||||
import java.util.*;
|
||||
class Test {
|
||||
{
|
||||
List<String> l //end line comment
|
||||
;
|
||||
l = new ArrayList<>();
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// "Split into declaration and assignment" "true"
|
||||
import java.util.*;
|
||||
class Test {
|
||||
{
|
||||
List<String> l <caret>= new ArrayList//end line comment
|
||||
<>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user