mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-20 20:20:56 +07:00
14 lines
438 B
Java
14 lines
438 B
Java
// "Convert variable 'str1' from String to StringBuilder" "true-preview"
|
|
|
|
public class IntentionBug {
|
|
public static void main(String[] args) {
|
|
String str1 = "";
|
|
for (char i = 'a'; i < 'd'; i++) {
|
|
str1 = str1 <caret>+ i + (char) (i + 1);
|
|
str1 = /*1*/str1/*2*/+ i + (char) (i + 1);
|
|
str1 = str1+1+2+3;
|
|
str1 = str1+(1+2+3);
|
|
}
|
|
System.out.println(str1);
|
|
}
|
|
} |