Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasbjerre committed Dec 25, 2017
1 parent eeaf7d7 commit d643cf2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public boolean shouldComment(ChangedFile changedFile, Integer line) {
final Optional<Integer> lineFoundOpt = findLineToComment(patchString, line);
final boolean commentOnlyChangedContent =
violationCommentsToGitLabApi.getCommentOnlyChangedContent();
return !commentOnlyChangedContent || commentOnlyChangedContent && lineFoundOpt.isPresent();
return !commentOnlyChangedContent || lineFoundOpt.isPresent();
}

@Override
Expand Down

0 comments on commit d643cf2

Please sign in to comment.