Avoid PMD warning.
This commit is contained in:
@ -38,13 +38,13 @@ public class ASTInput extends net.sourceforge.pmd.lang.plsql.ast.AbstractPLSQLNo
|
|||||||
private int excludedRangesCount = 0;
|
private int excludedRangesCount = 0;
|
||||||
private int excludedLinesCount = 0;
|
private int excludedLinesCount = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Let the user know that a range of lines were excluded from parsing.
|
Let the user know that a range of lines were excluded from parsing.
|
||||||
@param first First line of the exlucded line range (1-based).
|
@param first First line of the exlucded line range (1-based).
|
||||||
@param last Last line of the exlucded line range (1-based).
|
@param last Last line of the exlucded line range (1-based).
|
||||||
*/
|
*/
|
||||||
void addExcludedLineRange(int first, int last) {
|
void addExcludedLineRange(int first, int last) {
|
||||||
excludedLinesCount += (last - first + 1);
|
excludedLinesCount += last - first + 1;
|
||||||
excludedRangesCount += 1;
|
excludedRangesCount += 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user