diff --git a/src/main/java/io/openliberty/tools/intellij/lsp4mp4ij/psi/internal/core/java/corrections/JavaDiagnosticsDefinition.java b/src/main/java/io/openliberty/tools/intellij/lsp4mp4ij/psi/internal/core/java/corrections/JavaDiagnosticsDefinition.java index fe3f8f6cd..ef344f4e4 100644 --- a/src/main/java/io/openliberty/tools/intellij/lsp4mp4ij/psi/internal/core/java/corrections/JavaDiagnosticsDefinition.java +++ b/src/main/java/io/openliberty/tools/intellij/lsp4mp4ij/psi/internal/core/java/corrections/JavaDiagnosticsDefinition.java @@ -69,7 +69,7 @@ public void beginDiagnostics(JavaDiagnosticsContext context) { }, e -> { LOGGER.log(Level.WARNING, "Error while calling beginDiagnostics", e); - return null; + return false; } ); } @@ -98,7 +98,7 @@ public void endDiagnostics(JavaDiagnosticsContext context) { }, e -> { LOGGER.log(Level.WARNING, "Error while calling endDiagnostics", e); - return null; + return false; } ); }