Skip to content

Commit

Permalink
Fixed comparison with optional value
Browse files Browse the repository at this point in the history
  • Loading branch information
benfortuna committed Sep 21, 2021
1 parent 3fa847b commit a392f5d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -124,6 +124,6 @@ public static boolean isHintEnabled(final String key) {
if (HINTS.get(key) != null) {
return HINTS.get(key);
}
return "true".equals(Configurator.getProperty(key));
return "true".equals(Configurator.getProperty(key).orElse("false"));
}
}

0 comments on commit a392f5d

Please sign in to comment.