mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
convenience method Segment.contains
GitOrigin-RevId: e2ded31d577c1aaa627482dcef557bce2fcaaefc
This commit is contained in:
committed by
intellij-monorepo-bot
parent
3fa289a400
commit
71082f6f3c
+1
-1
@@ -93,7 +93,7 @@ final class JavaDeclarationMover extends LineMover {
|
||||
}
|
||||
|
||||
private static boolean contains(RangeMarker rangeMarker, int index) {
|
||||
return rangeMarker.getStartOffset() <= index && rangeMarker.getEndOffset() >= index;
|
||||
return rangeMarker.getTextRange().containsInclusive(index);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user