mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 02:38:59 +07:00
RedundantStringOperation: id changed, merger updated (IDEA-CR-34351)
This commit is contained in:
@@ -5,6 +5,10 @@ class Foo {
|
||||
// check merger
|
||||
//noinspection SubstringZero
|
||||
String sOld = s.substring(0x0);
|
||||
//noinspection RedundantStringOperation
|
||||
String sOld2 = s.substring(0x0);
|
||||
//noinspection StringOperationCanBeSimplified
|
||||
String sNew = s.substring(0x0);
|
||||
String s2 = s;
|
||||
String s3 = s.substring(0, 20);
|
||||
/*up until the string length*/
|
||||
|
||||
@@ -5,6 +5,10 @@ class Foo {
|
||||
// check merger
|
||||
//noinspection SubstringZero
|
||||
String sOld = s.substring(0x0);
|
||||
//noinspection RedundantStringOperation
|
||||
String sOld2 = s.substring(0x0);
|
||||
//noinspection StringOperationCanBeSimplified
|
||||
String sNew = s.substring(0x0);
|
||||
String s2 = s.su<caret>bstring(0x0);
|
||||
String s3 = s.substring(0, 20);
|
||||
String s4 = s.substring(0, /*up until the string length*/ s.length());
|
||||
|
||||
Reference in New Issue
Block a user