CRON expression setting account for the default value

This commit is contained in:
aboyko
2024-10-15 13:31:39 -04:00
parent 67eacaef00
commit 2441801bc7

View File

@@ -85,7 +85,8 @@ public class BootJavaConfig implements InitializingBean {
}
public boolean isCronInlayHintsEnabled() {
return Boolean.TRUE.equals(settings.getBoolean("boot-java", "cron", "inlay-hints"));
Boolean enabled = settings.getBoolean("boot-java", "cron", "inlay-hints");
return enabled == null || enabled.booleanValue();
}
public boolean isShowingAllJvmProcesses() {