mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-19 13:18:46 +07:00
4861c7cc17
Fixes IDEA-191536 More redundant string operations with indexOf lastIndexOf startsWith
6 lines
105 B
Java
6 lines
105 B
Java
// "Remove argument" "true"
|
|
class Foo {
|
|
int test(String foo) {
|
|
return foo.lastIndexOf("bar");
|
|
}
|
|
} |