IDEA-149091 Optimized "TreeModelBuilder$MyChangePathLengthComparator"

This commit is contained in:
Konstantin Kolosovsky
2016-07-25 19:30:12 +03:00
parent 02a2ecafeb
commit 1becc9b4ea
@@ -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());
}
}