Skip to content

Commit e99a135

Browse files
committed
Merge pull request #205 from skuehn/fix_config_contains
reverse Config contains logic
2 parents 911de38 + fb50ddf commit e99a135

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • chill-java/src/main/java/com/twitter/chill/config

chill-java/src/main/java/com/twitter/chill/config/Config.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public String getOrElse(String key, String def) {
3131
}
3232

3333
public boolean contains(String key) {
34-
return get(key) == null;
34+
return get(key) != null;
3535
}
3636
public Boolean getBoolean(String key) {
3737
String bval = get(key);

0 commit comments

Comments
 (0)