Skip to content

Commit

Permalink
Improve naming.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Jan 19, 2024
1 parent ef2e366 commit 3e48937
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/edu/hm/hafner/analysis/IssueDifference.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ public IssueDifference(final Report currentIssues, final String referenceId,

newIssues.forEach(issue -> issue.setReference(referenceId));
if (!includes.isEmpty()) {
keepOnlyIncludedIssues(includes);
findIssuesInChangedCode(includes);
}
}

private void keepOnlyIncludedIssues(final Map<String, Integer> includes) {
private void findIssuesInChangedCode(final Map<String, Integer> includes) {
for (Entry<String, Integer> include : includes.entrySet()) {
newIssues.filter(issue -> filter(issue, include.getKey(), include.getValue()))
.stream()
Expand Down

0 comments on commit 3e48937

Please sign in to comment.