Skip to content

Commit 8118f00

Browse files
committed
fix: Handle Diagnostic with null severity
1 parent d47112f commit 8118f00

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

org.eclipse.lsp4e/META-INF/MANIFEST.MF

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
22
Bundle-ManifestVersion: 2
33
Bundle-Name: Language Server Protocol client for Eclipse IDE (Incubation)
44
Bundle-SymbolicName: org.eclipse.lsp4e;singleton:=true
5-
Bundle-Version: 0.19.6.qualifier
5+
Bundle-Version: 0.19.7.qualifier
66
Bundle-RequiredExecutionEnvironment: JavaSE-21
77
Require-Bundle: org.eclipse.core.runtime;bundle-version="3.12.0",
88
org.eclipse.equinox.common;bundle-version="3.8.0",

org.eclipse.lsp4e/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</parent>
1111
<artifactId>org.eclipse.lsp4e</artifactId>
1212
<packaging>eclipse-plugin</packaging>
13-
<version>0.19.6-SNAPSHOT</version>
13+
<version>0.19.7-SNAPSHOT</version>
1414

1515
<build>
1616
<plugins>

org.eclipse.lsp4e/src/org/eclipse/lsp4e/operations/diagnostics/DiagnosticAnnotation.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ public String getType() {
3434
case Warning -> "org.eclipse.ui.workbench.texteditor.warning"; //$NON-NLS-1$
3535
case Information -> "org.eclipse.ui.workbench.texteditor.info"; //$NON-NLS-1$
3636
case Hint -> "org.eclipse.ui.workbench.texteditor.info"; //$NON-NLS-1$
37+
case null -> super.getType();
3738
};
3839
}
3940

0 commit comments

Comments
 (0)