From c7949a15944a7f7a8cb6044d31739e6f0bf6a67d Mon Sep 17 00:00:00 2001 From: Jesse Glick Date: Thu, 16 Jan 2025 14:51:05 -0500 Subject: [PATCH] Translate `Diagnostic.Kind.NOTE` to `Security.HINT` not `WARNING` --- .../modules/java/hints/infrastructure/ErrorHintsProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/java.hints/src/org/netbeans/modules/java/hints/infrastructure/ErrorHintsProvider.java b/java/java.hints/src/org/netbeans/modules/java/hints/infrastructure/ErrorHintsProvider.java index b954a376b11b..8d29604082ab 100644 --- a/java/java.hints/src/org/netbeans/modules/java/hints/infrastructure/ErrorHintsProvider.java +++ b/java/java.hints/src/org/netbeans/modules/java/hints/infrastructure/ErrorHintsProvider.java @@ -108,7 +108,7 @@ public ErrorHintsProvider() { errorKind2Severity.put(Diagnostic.Kind.ERROR, Severity.ERROR); errorKind2Severity.put(Diagnostic.Kind.MANDATORY_WARNING, Severity.WARNING); errorKind2Severity.put(Diagnostic.Kind.WARNING, Severity.WARNING); - errorKind2Severity.put(Diagnostic.Kind.NOTE, Severity.WARNING); + errorKind2Severity.put(Diagnostic.Kind.NOTE, Severity.HINT); errorKind2Severity.put(Diagnostic.Kind.OTHER, Severity.WARNING); }