mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-12 19:06:35 +07:00
preserve comments: anonym -> for comments inside parent new expression
This commit is contained in:
+2
-1
@@ -1,6 +1,7 @@
|
||||
// "Replace with lambda" "true"
|
||||
|
||||
class Test {
|
||||
//my comment
|
||||
//comment inside new expression
|
||||
//my comment
|
||||
Runnable r = () -> {};
|
||||
}
|
||||
+2
-1
@@ -1,7 +1,8 @@
|
||||
// "Replace with lambda" "true"
|
||||
|
||||
class Test {
|
||||
Runnable r = new Ru<caret>nnable() {
|
||||
Runnable r = new //comment inside new expression
|
||||
Ru<caret>nnable() {
|
||||
//my comment
|
||||
public void run () {}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user