mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
13 lines
293 B
Java
13 lines
293 B
Java
// "Unwrap 'if' statement" "true-preview"
|
|
class X {
|
|
StringBuilder str = new StringBuilder();
|
|
|
|
void test(@org.jetbrains.annotations.NotNull String x) {
|
|
<caret>{
|
|
String str = x.trim();
|
|
System.out.println(str);
|
|
}
|
|
|
|
str.append("foo");
|
|
}
|
|
} |