Skip to content

Commit

Permalink
Fix return fallback statement.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Jan 18, 2024
1 parent 6921a80 commit d7ba339
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ release.properties
.DS_Store
.idea
/package-lock.json
metrics.env
maven.log
2 changes: 1 addition & 1 deletion src/main/java/edu/hm/hafner/analysis/Issue.java
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ public boolean affectsLine(final int line) {
return true; // the line is within an additional line range of this issue
}
}
return getLineStart() == 0; // an issue without a line number is always relevant
return false;
}

/**
Expand Down

0 comments on commit d7ba339

Please sign in to comment.