/** * Adds a line range to this revision. The range must be non-empty and have a legal start line * (not -1). * * @param range a line range that was changed with this revision * @throws IndexOutOfBoundsException if the line range is empty or has a negative start line */ public final void addRange(ILineRange range) throws IndexOutOfBoundsException { fChangeRegions.add(new ChangeRegion(this, range)); }
/** * Adds a line range to this revision. The range must be non-empty and have a legal start line * (not -1). * * @param range a line range that was changed with this revision * @throws IndexOutOfBoundsException if the line range is empty or has a negative start line */ public final void addRange(ILineRange range) throws IndexOutOfBoundsException { fChangeRegions.add(new ChangeRegion(this, range)); }