Skip to content

Commit

Permalink
уточнил комментарий
Browse files Browse the repository at this point in the history
  • Loading branch information
artbear committed Nov 30, 2023
1 parent 3020c65 commit 29ac762
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ private void checkAllLines(String[] moduleLines) {
private void checkLinesWithoutComments(String[] moduleLines) {
final var nclocData = documentContext.getMetrics().getNclocData();
for (int i : nclocData) {
final var moduleNumber = i - 1; // т.к. в токенах нумерация строк с 1, а в moduleLines с 0
final var moduleNumber = i - 1; // т.к. в токенах и метриках нумерация строк с 1, а в moduleLines с 0
checkLine(moduleLines, moduleNumber);
}
}
Expand Down

0 comments on commit 29ac762

Please sign in to comment.