From 9009c0420183ce28b2f27a1295832b96aafc0573 Mon Sep 17 00:00:00 2001 From: Jonathan Percival Date: Fri, 27 Sep 2024 14:45:19 -0600 Subject: [PATCH] Rev to 3.2.0 --- core/pom.xml | 2 +- debug/server/pom.xml | 4 ++-- debug/service/pom.xml | 4 ++-- ls/server/pom.xml | 4 ++-- .../org/opencds/cqf/cql/ls/server/command/CqlCommand.java | 1 + .../cqf/cql/ls/server/service/DiagnosticsService.java | 7 ------- ls/service/pom.xml | 4 ++-- plugin/debug/pom.xml | 6 +++--- pom.xml | 4 ++-- 9 files changed, 15 insertions(+), 21 deletions(-) diff --git a/core/pom.xml b/core/pom.xml index 8dbc1eb..8868a81 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -11,7 +11,7 @@ org.opencds.cqf.cql.ls cql-ls - 3.2.0-SNAPSHOT + 3.2.0 diff --git a/debug/server/pom.xml b/debug/server/pom.xml index 69df6b4..98b0f24 100644 --- a/debug/server/pom.xml +++ b/debug/server/pom.xml @@ -11,7 +11,7 @@ org.opencds.cqf.cql.ls cql-ls - 3.2.0-SNAPSHOT + 3.2.0 ../../pom.xml @@ -19,7 +19,7 @@ org.opencds.cqf.cql.ls cql-ls-core - 3.2.0-SNAPSHOT + 3.2.0 org.eclipse.lsp4j diff --git a/debug/service/pom.xml b/debug/service/pom.xml index bd18412..4b79b3e 100644 --- a/debug/service/pom.xml +++ b/debug/service/pom.xml @@ -10,7 +10,7 @@ org.opencds.cqf.cql.ls cql-ls - 3.2.0-SNAPSHOT + 3.2.0 ../../pom.xml @@ -18,7 +18,7 @@ org.opencds.cqf.cql.debug cql-debug-server - 3.2.0-SNAPSHOT + 3.2.0 org.springframework.boot diff --git a/ls/server/pom.xml b/ls/server/pom.xml index d7cca0f..0abedc3 100644 --- a/ls/server/pom.xml +++ b/ls/server/pom.xml @@ -11,7 +11,7 @@ org.opencds.cqf.cql.ls cql-ls - 3.2.0-SNAPSHOT + 3.2.0 ../../pom.xml @@ -29,7 +29,7 @@ org.opencds.cqf.cql.ls cql-ls-core - 3.2.0-SNAPSHOT + 3.2.0 diff --git a/ls/server/src/main/java/org/opencds/cqf/cql/ls/server/command/CqlCommand.java b/ls/server/src/main/java/org/opencds/cqf/cql/ls/server/command/CqlCommand.java index b14077f..037c01d 100644 --- a/ls/server/src/main/java/org/opencds/cqf/cql/ls/server/command/CqlCommand.java +++ b/ls/server/src/main/java/org/opencds/cqf/cql/ls/server/command/CqlCommand.java @@ -125,6 +125,7 @@ static class ParameterParameter { } } + @SuppressWarnings("removal") // TODO: Missed a spot upstream in the CQL library private static class Logger implements ILoggingService { private final org.slf4j.Logger log = LoggerFactory.getLogger(Logger.class); diff --git a/ls/server/src/main/java/org/opencds/cqf/cql/ls/server/service/DiagnosticsService.java b/ls/server/src/main/java/org/opencds/cqf/cql/ls/server/service/DiagnosticsService.java index 18627ab..9ed8ce2 100644 --- a/ls/server/src/main/java/org/opencds/cqf/cql/ls/server/service/DiagnosticsService.java +++ b/ls/server/src/main/java/org/opencds/cqf/cql/ls/server/service/DiagnosticsService.java @@ -23,7 +23,6 @@ import org.apache.commons.lang3.tuple.Pair; import org.cqframework.cql.cql2elm.CqlCompiler; import org.cqframework.cql.cql2elm.CqlCompilerException; -import org.cqframework.cql.elm.tracking.TrackBack; import org.eclipse.lsp4j.Diagnostic; import org.eclipse.lsp4j.DiagnosticSeverity; import org.eclipse.lsp4j.Position; @@ -122,12 +121,6 @@ public Map> lint(URI uri) { log.debug("lint completed on {} with {} messages.", uri, exceptions.size()); - // First, assign all unassociated exceptions to this library. - for (CqlCompilerException exception : exceptions) { - if (exception.getLocator() == null) { - exception.setLocator(new TrackBack(compiler.getCompiledLibrary().getIdentifier(), 0, 0, 0, 0)); - } - } List uniqueLibraries = exceptions.stream() .map(x -> x.getLocator().getLibrary()) diff --git a/ls/service/pom.xml b/ls/service/pom.xml index 4dedf65..0882327 100644 --- a/ls/service/pom.xml +++ b/ls/service/pom.xml @@ -9,7 +9,7 @@ org.opencds.cqf.cql.ls cql-ls - 3.2.0-SNAPSHOT + 3.2.0 ../../pom.xml @@ -17,7 +17,7 @@ org.opencds.cqf.cql.ls cql-ls-server - 3.2.0-SNAPSHOT + 3.2.0 org.springframework.boot diff --git a/plugin/debug/pom.xml b/plugin/debug/pom.xml index f0f14f7..ff6dc59 100644 --- a/plugin/debug/pom.xml +++ b/plugin/debug/pom.xml @@ -11,7 +11,7 @@ org.opencds.cqf.cql.ls cql-ls - 3.2.0-SNAPSHOT + 3.2.0 ../.. @@ -19,13 +19,13 @@ org.opencds.cqf.cql.ls cql-ls-server - 3.2.0-SNAPSHOT + 3.2.0 provided org.opencds.cqf.cql.debug cql-debug-server - 3.2.0-SNAPSHOT + 3.2.0 org.eclipse.lsp4j diff --git a/pom.xml b/pom.xml index 23780ae..cf69136 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.opencds.cqf.cql.ls cql-ls pom - 3.2.0-SNAPSHOT + 3.2.0 CQL Language Server A Language Server for CQL implementing the LSP @@ -16,7 +16,7 @@ UTF-8 UTF-8 11 - 3.2.0 + 3.12.0 1.1.1 1.7.36 2.7.18