Skip to content

Commit

Permalink
refactor: Common static analysis issues
Browse files Browse the repository at this point in the history
  • Loading branch information
natedanner and TeamModerne committed Aug 15, 2024
1 parent 282e27a commit 7e7b28c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/yourorg/SimplifyTernary.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ boolean before(boolean expr) {
@AfterTemplate
boolean after(boolean expr) {
// We wrap the expression in parentheses as the input expression might be a complex expression
return !(expr);
return !expr;
}
}
}

0 comments on commit 7e7b28c

Please sign in to comment.