mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
minor memory allocation avoidance
This commit is contained in:
@@ -68,7 +68,6 @@ public class NamesEnumerator {
|
||||
return id;
|
||||
}
|
||||
else {
|
||||
s = new String(s);
|
||||
int id = myNonAsciiMap.get(s);
|
||||
if (id == 0 && create) {
|
||||
id = myAsciiMap.size() + myNonAsciiMap.size() + 1;
|
||||
|
||||
Reference in New Issue
Block a user