mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[diff] use more clear name for the method
This commit is contained in:
@@ -340,7 +340,7 @@ public class LineStatusTracker {
|
||||
private Range getLastRangeBeforeLine(int line) {
|
||||
Range result = null;
|
||||
for (Range range : myRanges) {
|
||||
if (range.isMoreThen(line)) return result;
|
||||
if (range.isAfter(line)) return result;
|
||||
result = range;
|
||||
}
|
||||
return result;
|
||||
|
||||
@@ -165,7 +165,7 @@ public class Range {
|
||||
return myOffset1 <= line && myOffset2 >= line;
|
||||
}
|
||||
|
||||
public boolean isMoreThen(int line) {
|
||||
public boolean isAfter(int line) {
|
||||
if (myType == DELETED)
|
||||
return (getOffset1() - 1) > line;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user