IDEA-187224: test fixed (beforeStringSubstringLength.java was not added mistakenly)

This commit is contained in:
Tagir Valeev
2018-02-28 14:15:23 +07:00
parent fa713953e9
commit f6c45995d3

View File

@@ -0,0 +1,7 @@
// "Fix all 'Redundant String operation' problems in file" "true"
class Foo {
void test(String s) {
String s1 = s.substring(1, s.leng<caret>th());
String s2 = s.substring(2, s1.length());
}
}