mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
Replaceable with append(s, x, y) Fixes IDEA-185652 Improve StringBulder.append(s.substring(1,2)) intention Also optimization of new expression resolution
7 lines
199 B
Java
7 lines
199 B
Java
// "Remove redundant 'substring()' call" "true"
|
|
class Foo {
|
|
public static void main(String[] args) {
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append(args[0].subs<caret>tring(3, 4));
|
|
}
|
|
} |