preserve comments: split declarations

This commit is contained in:
Anna.Kozlova
2017-12-01 16:27:00 +01:00
parent 807fd2b579
commit 97535d8271
3 changed files with 21 additions and 2 deletions

View File

@@ -0,0 +1,9 @@
// "Split into declaration and assignment" "true"
import java.util.*;
class Test {
{
List<String> l //end line comment
;
l = new ArrayList<>();
}
}

View File

@@ -0,0 +1,8 @@
// "Split into declaration and assignment" "true"
import java.util.*;
class Test {
{
List<String> l <caret>= new ArrayList//end line comment
<>();
}
}