Avoid PMD warning.

This commit is contained in:
Henning von Bargen
2021-03-12 11:58:37 +01:00
parent 56fed34113
commit 9d66782457

View File

@ -44,7 +44,7 @@ public class ASTInput extends net.sourceforge.pmd.lang.plsql.ast.AbstractPLSQLNo
@param last Last line of the exlucded line range (1-based).
*/
void addExcludedLineRange(int first, int last) {
excludedLinesCount += (last - first + 1);
excludedLinesCount += last - first + 1;
excludedRangesCount += 1;
}