mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEA-149091 Optimized "TreeModelBuilder$MyChangePathLengthComparator"
This commit is contained in:
@@ -252,7 +252,7 @@ public class TreeModelBuilder {
|
||||
FilePath fp1 = ChangesUtil.getFilePath(o1);
|
||||
FilePath fp2 = ChangesUtil.getFilePath(o2);
|
||||
|
||||
return Comparing.compare(fp1.getIOFile().getPath().length(), fp2.getIOFile().getPath().length());
|
||||
return Comparing.compare(fp1.getPath().length(), fp2.getPath().length());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user