Skip to content

Commit

Permalink
follow property pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
SentryMan committed Apr 25, 2024
1 parent 7177111 commit 8c76190
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ public boolean contains(String property) {

@Override
public boolean equalTo(String property, String value) {
return Objects.equals(config.getString(property), value);
return config.hasPath(property) && Objects.equals(config.getString(property), value);
}
}

0 comments on commit 8c76190

Please sign in to comment.