mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ea-26295
This commit is contained in:
@@ -328,7 +328,10 @@ public class UsageInfo2UsageAdapter implements UsageInModule,
|
||||
if (containingFile == null && oContainingFile == null || !Comparing.equal(containingFile, oContainingFile)) {
|
||||
return 0;
|
||||
}
|
||||
return getFirstSegment().getStartOffset() - o.getFirstSegment().getStartOffset();
|
||||
Segment s1 = getFirstSegment();
|
||||
Segment s2 = o.getFirstSegment();
|
||||
if (s1 == null || s2 == null) return 0;
|
||||
return s1.getStartOffset() - s2.getStartOffset();
|
||||
}
|
||||
|
||||
public void rename(String newName) throws IncorrectOperationException {
|
||||
|
||||
Reference in New Issue
Block a user