Skip to content

Commit 2441801

Browse files
committed
CRON expression setting account for the default value
1 parent 67eacae commit 2441801

File tree

1 file changed

+2
-1
lines changed
  • headless-services/spring-boot-language-server/src/main/java/org/springframework/ide/vscode/boot/app

1 file changed

+2
-1
lines changed

headless-services/spring-boot-language-server/src/main/java/org/springframework/ide/vscode/boot/app/BootJavaConfig.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ public boolean isModulithAutoProjectTrackingEnabled() {
8585
}
8686

8787
public boolean isCronInlayHintsEnabled() {
88-
return Boolean.TRUE.equals(settings.getBoolean("boot-java", "cron", "inlay-hints"));
88+
Boolean enabled = settings.getBoolean("boot-java", "cron", "inlay-hints");
89+
return enabled == null || enabled.booleanValue();
8990
}
9091

9192
public boolean isShowingAllJvmProcesses() {

0 commit comments

Comments
 (0)