From d6e8ac760a64d68ce7ceff3c2333db867ca2adac Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Mar 2024 10:17:16 +0100 Subject: [PATCH] Bump org.apache.jena:apache-jena-libs from 4.3.1 to 4.10.0 (#467) * Bump org.apache.jena:apache-jena-libs from 4.3.1 to 4.10.0 Bumps org.apache.jena:apache-jena-libs from 4.3.1 to 4.10.0. --- updated-dependencies: - dependency-name: org.apache.jena:apache-jena-libs dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Rename SSEParseException to SSE_ParseException --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lathouwerssam --- pom.xml | 2 +- .../knowledge/engine/smartconnector/api/BindingValidator.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 16e7c9b0..38fb8b0c 100644 --- a/pom.xml +++ b/pom.xml @@ -82,7 +82,7 @@ org.apache.jena apache-jena-libs - 4.3.1 + 4.10.0 pom diff --git a/smart-connector-api/src/main/java/eu/knowledge/engine/smartconnector/api/BindingValidator.java b/smart-connector-api/src/main/java/eu/knowledge/engine/smartconnector/api/BindingValidator.java index e6d7601d..bb7018fc 100644 --- a/smart-connector-api/src/main/java/eu/knowledge/engine/smartconnector/api/BindingValidator.java +++ b/smart-connector-api/src/main/java/eu/knowledge/engine/smartconnector/api/BindingValidator.java @@ -6,7 +6,7 @@ import org.apache.jena.sparql.graph.PrefixMappingMem; import org.apache.jena.sparql.sse.SSE; -import org.apache.jena.sparql.sse.SSEParseException; +import org.apache.jena.sparql.sse.SSE_ParseException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -90,7 +90,7 @@ public void validateValidBindingValue(String value) { throw new IllegalArgumentException(String.format("'%s' is not a valid unprefixed URI.", value)); } } - } catch (SSEParseException spe) { + } catch (SSE_ParseException spe) { LOG.debug("{} is not valid because Jena could not parse it", value); throw new IllegalArgumentException(String.format("'%s' is not an unprefixed URI or literal.", value)); }