mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
removed new String(string)
This commit is contained in:
@@ -111,8 +111,7 @@ public abstract class PsiNameHelper {
|
||||
}
|
||||
}
|
||||
|
||||
String sub = referenceText.substring(i + 1, lessPos).trim();
|
||||
return sub.length() == referenceText.length() ? sub : new String(sub);
|
||||
return referenceText.substring(i + 1, lessPos).trim();
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
||||
Reference in New Issue
Block a user