mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
UnnecessaryToStringCallInspection: preserve comments on fix (IDEA-CR-29000)
This commit is contained in:
+2
-1
@@ -1,6 +1,7 @@
|
||||
// "Replace with 'this'" "true"
|
||||
class X {
|
||||
void test(Object x) {
|
||||
System.out.println(this);
|
||||
/*comment*/
|
||||
System.out.println(this);
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Replace with 'this'" "true"
|
||||
class X {
|
||||
void test(Object x) {
|
||||
System.out.println(toStri<caret>ng());
|
||||
System.out.println(toStri<caret>ng(/*comment*/));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user