Skip to content

Commit

Permalink
rename parameter to improve readability
Browse files Browse the repository at this point in the history
  • Loading branch information
burdoto committed Apr 11, 2024
1 parent f2cb607 commit 6f98e36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/comroid/api/info/Constraint.java
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ public API equals(Object actual, Object expected, String nameof) {
}

@Contract("false, _ -> fail")
public API decide(boolean value, String nameof) {
return decide(value)
public API decide(boolean pass, String nameof) {
return decide(pass)
.setConstraint("check")
.setNameof(nameof)
.setShouldBe("is")
Expand Down

0 comments on commit 6f98e36

Please sign in to comment.