mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
avoid accidental boxing during stub hierarchy creation
This commit is contained in:
@@ -176,7 +176,7 @@ public class SingleClassHierarchy extends ClassHierarchy {
|
||||
// compacting
|
||||
result = Arrays.copyOf(result, i);
|
||||
|
||||
Arrays.sort(result, Comparator.comparing(a -> a.myFileId));
|
||||
Arrays.sort(result, (a1, a2) -> Integer.compare(a1.myFileId, a2.myFileId));
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user