Skip to content

Commit 5521708

Browse files
authored
Merge pull request #385 from lahodaj/disable-publication-of-errors-after-indexing
Temporarily disable the error notifier running after indexing.
2 parents 2a2788c + bf5c56a commit 5521708

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

build.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
patches/8260.diff
5757
patches/8280.diff
5858
patches/8289.diff
59+
patches/disable-error-notification.diff
5960
patches/mvn-sh.diff
6061
patches/project-marker-jdk.diff
6162
patches/generate-dependencies.diff
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/ErrorsNotifier.java b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/ErrorsNotifier.java
2+
index c79de141f6..4bef234b0e 100644
3+
--- a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/ErrorsNotifier.java
4+
+++ b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/ErrorsNotifier.java
5+
@@ -50,6 +50,7 @@ public final class ErrorsNotifier {
6+
}
7+
8+
public void notifyErrors(URL root) {
9+
+ if (true) return ; //disable the error notification for now
10+
List<LspServerState> toRemove = new ArrayList<>();
11+
List<LspServerState> toProcess = new ArrayList<>();
12+
synchronized (servers) {

0 commit comments

Comments
 (0)