From 01938bfd6ced7510727bf811bba4a9bf4b0cc244 Mon Sep 17 00:00:00 2001 From: David Rogers Date: Wed, 5 Jun 2024 17:02:07 -0500 Subject: [PATCH] bump lsp4j dep --- luceedebug/build.gradle.kts | 3 ++- luceedebug/src/main/java/luceedebug/DapServer.java | 13 +------------ 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/luceedebug/build.gradle.kts b/luceedebug/build.gradle.kts index 5d61fad..50d9309 100644 --- a/luceedebug/build.gradle.kts +++ b/luceedebug/build.gradle.kts @@ -56,7 +56,8 @@ dependencies { compileOnly(files("extern/5.3.9.158-SNAPSHOT.lco")) // https://mvnrepository.com/artifact/org.eclipse.lsp4j/org.eclipse.lsp4j.debug - implementation("org.eclipse.lsp4j:org.eclipse.lsp4j.debug:0.15.0") + implementation("org.eclipse.lsp4j:org.eclipse.lsp4j.debug:0.23.1") + } java { diff --git a/luceedebug/src/main/java/luceedebug/DapServer.java b/luceedebug/src/main/java/luceedebug/DapServer.java index f2732ee..24fb1ce 100644 --- a/luceedebug/src/main/java/luceedebug/DapServer.java +++ b/luceedebug/src/main/java/luceedebug/DapServer.java @@ -25,8 +25,7 @@ import org.eclipse.lsp4j.jsonrpc.messages.ResponseError; import org.eclipse.lsp4j.jsonrpc.messages.ResponseErrorCode; import org.eclipse.lsp4j.jsonrpc.services.JsonRequest; -import org.eclipse.xtext.xbase.lib.Pure; -import org.eclipse.xtext.xbase.lib.util.ToStringBuilder; +import org.eclipse.lsp4j.jsonrpc.util.ToStringBuilder; import com.sun.jdi.ObjectCollectedException; @@ -475,7 +474,6 @@ public int getVariablesReference() { } @Override - @Pure public String toString() { ToStringBuilder b = new ToStringBuilder(this); b.add("variablesReference", this.variablesReference); @@ -483,7 +481,6 @@ public String toString() { } @Override - @Pure public boolean equals(final Object obj) { if (this == obj) { return true; @@ -512,7 +509,6 @@ public void setContent(final String htmlDocument) { } @Override - @Pure public String toString() { ToStringBuilder b = new ToStringBuilder(this); b.add("content", this.content); @@ -520,7 +516,6 @@ public String toString() { } @Override - @Pure public boolean equals(final Object obj) { if (this == obj) { return true; @@ -582,7 +577,6 @@ public void setPathTransforms(String[] v) { } @Override - @Pure public String toString() { ToStringBuilder b = new ToStringBuilder(this); b.add("canonicalFilenames", this.canonicalFilenames); @@ -592,7 +586,6 @@ public String toString() { } @Override - @Pure public boolean equals(final Object obj) { if (this == obj) { return true; @@ -667,7 +660,6 @@ public void setBreakpoints(int v) { } @Override - @Pure public String toString() { ToStringBuilder b = new ToStringBuilder(this); b.add("variablesReference", this.variablesReference); @@ -675,7 +667,6 @@ public String toString() { } @Override - @Pure public boolean equals(final Object obj) { if (this == obj) { return true; @@ -708,7 +699,6 @@ public void setPath(String path) { } @Override - @Pure public String toString() { ToStringBuilder b = new ToStringBuilder(this); b.add("path", this.path); @@ -716,7 +706,6 @@ public String toString() { } @Override - @Pure public boolean equals(final Object obj) { if (this == obj) { return true;