From db82b52928507a1f028f7d9ccfabb83db3d2098b Mon Sep 17 00:00:00 2001 From: Enrico Daga Date: Wed, 23 Mar 2022 17:24:21 +0000 Subject: [PATCH] Remove unused parameter. See #202 --- .../java/com/github/sparqlanything/json/JSONTriplifier.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sparql-anything-json/src/main/java/com/github/sparqlanything/json/JSONTriplifier.java b/sparql-anything-json/src/main/java/com/github/sparqlanything/json/JSONTriplifier.java index 715eef05..d24e9ecc 100644 --- a/sparql-anything-json/src/main/java/com/github/sparqlanything/json/JSONTriplifier.java +++ b/sparql-anything-json/src/main/java/com/github/sparqlanything/json/JSONTriplifier.java @@ -62,7 +62,7 @@ public class JSONTriplifier implements Triplifier, Slicer { // return Triplifier.getRootArgument(properties); // } - private void transform(URL url, Properties properties, FacadeXGraphBuilder builder) + private void transform(Properties properties, FacadeXGraphBuilder builder) throws IOException, TriplifierHTTPException { final InputStream us = Triplifier.getInputStream(properties); @@ -295,9 +295,8 @@ private void transformMap(Map o, String dataSourceId, String containerId, @Override public void triplify(Properties properties, FacadeXGraphBuilder builder) throws IOException, TriplifierHTTPException { - URL url = Triplifier.getLocation(properties); // TODO Add support for JsonPath - transform(url, properties, builder); + transform(properties, builder); } @Override