Skip to content

Commit

Permalink
use getter
Browse files Browse the repository at this point in the history
  • Loading branch information
pstreef committed Apr 15, 2024
1 parent e89bfa8 commit 0b203d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/org/openrewrite/LanguageComposition.java
Original file line number Diff line number Diff line change
Expand Up @@ -189,12 +189,12 @@ public TreeVisitor<?, ExecutionContext> getScanner(Accumulator acc) {
.computeIfAbsent(folderPath, k -> new HashMap<>())
.computeIfAbsent(fileComposition.getLanguage(), k -> new Counts());
counts.fileCount++;
counts.lineCount += fileComposition.languageLineCount;
counts.lineCount += fileComposition.getLanguageLineCount();
perFileReport.insertRow(ctx, new LanguageCompositionPerFile.Row(
s.getSourcePath().toString(),
fileComposition.language,
fileComposition.getLanguage(),
s.getClass().getName(),
fileComposition.fileLineCount,
fileComposition.getFileLineCount(),
hasParseFailure));
return tree;
}
Expand Down

0 comments on commit 0b203d1

Please sign in to comment.