Skip to content

Commit

Permalink
fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
nahsra authored Apr 1, 2024
1 parent 363e1e1 commit 8fab344
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/codemodder/codetf/DetectorFinding.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public DetectorFinding(
this.fixed = fixed;
this.reason = Optional.ofNullable(reason);
if (!fixed && this.reason.isEmpty()) {
throw new IllegalArgumentException("Fixed findings must have a reason");
throw new IllegalArgumentException("Unfixed findings must have a reason");
}
}

Expand Down

0 comments on commit 8fab344

Please sign in to comment.