mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-18 12:31:26 +07:00
StringConcatenationInLoopsInspectionFix: fixed parenthesized append (IDEA-165968), fix renamed to "Convert variable ''{0}'' from String to {1}"
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// "Change type of 'res' to StringBuilder" "true"
|
||||
// "Convert variable 'res' from String to StringBuilder" "true"
|
||||
|
||||
public class Main {
|
||||
String test(String[] strings) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Change type of 'res' to StringBuilder" "true"
|
||||
// "Convert variable 'res' from String to StringBuilder" "true"
|
||||
|
||||
public class Main {
|
||||
String test(String[] strings) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Change type of 'res' to StringBuilder" "true"
|
||||
// "Convert variable 'res' from String to StringBuilder" "true"
|
||||
|
||||
public class Main {
|
||||
void test(String[] strings) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Change type of 'res' to StringBuilder" "true"
|
||||
// "Convert variable 'res' from String to StringBuilder" "true"
|
||||
|
||||
public class Main {
|
||||
String test(String[] strings) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Change type of 'res' to StringBuilder" "true"
|
||||
// "Convert variable 'res' from String to StringBuilder" "true"
|
||||
|
||||
public class Main {
|
||||
String test(String[] strings) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Change type of 'res' to StringBuilder" "true"
|
||||
// "Convert variable 'res' from String to StringBuilder" "true"
|
||||
|
||||
public class Main {
|
||||
String test(String[] strings) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Change type of 'res' to StringBuilder" "true"
|
||||
// "Convert variable 'res' from String to StringBuilder" "true"
|
||||
|
||||
public class Main {
|
||||
String test(String[] strings) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Change type of 'res' to StringBuilder" "true"
|
||||
// "Convert variable 'res' from String to StringBuilder" "true"
|
||||
|
||||
public class Main {
|
||||
String test(String[] strings) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Change type of 'res' to StringBuilder" "true"
|
||||
// "Convert variable 'res' from String to StringBuilder" "true"
|
||||
|
||||
public class Main {
|
||||
void test(String[] strings) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Change type of 'res' to StringBuilder" "true"
|
||||
// "Convert variable 'res' from String to StringBuilder" "true"
|
||||
|
||||
public class Main {
|
||||
String test(String[] strings) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Change type of 'res' to StringBuilder" "true"
|
||||
// "Convert variable 'res' from String to StringBuilder" "true"
|
||||
|
||||
public class Main {
|
||||
String test(String[] strings) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Change type of 'res' to StringBuilder" "true"
|
||||
// "Convert variable 'res' from String to StringBuilder" "true"
|
||||
|
||||
public class Main {
|
||||
String test(String[] strings) {
|
||||
@@ -7,7 +7,7 @@ public class Main {
|
||||
if (/*before*/!res/*within*/.isEmpty()) {
|
||||
res += ", ";
|
||||
}
|
||||
res <caret>+= s;
|
||||
res = (res <caret>+ s);
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user