Skip to content

Commit

Permalink
Fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
benfortuna committed Jun 26, 2020
1 parent e769d87 commit f89dee9
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -32,6 +32,7 @@
package net.fortuna.ical4j.util;

import java.util.Map;
import java.util.Optional;
import java.util.concurrent.ConcurrentHashMap;

/**
Expand Down Expand Up @@ -124,6 +125,6 @@ public static boolean isHintEnabled(final String key) {
if (HINTS.get(key) != null) {
return HINTS.get(key);
}
return "true".equals(Configurator.getProperty(key));
return Optional.of("true").equals(Configurator.getProperty(key));
}
}

0 comments on commit f89dee9

Please sign in to comment.