From 9de7328952cceda770318160cc81b4ae3a1dbefa Mon Sep 17 00:00:00 2001 From: Pierre Maillot Date: Tue, 3 Sep 2024 16:22:37 +0200 Subject: [PATCH] linting --- corese-core/src/main/java/fr/inria/corese/core/load/Load.java | 1 - .../java/fr/inria/corese/sparql/triple/parser/LoadTurtle.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/corese-core/src/main/java/fr/inria/corese/core/load/Load.java b/corese-core/src/main/java/fr/inria/corese/core/load/Load.java index e07612d36..9d25f5a93 100644 --- a/corese-core/src/main/java/fr/inria/corese/core/load/Load.java +++ b/corese-core/src/main/java/fr/inria/corese/core/load/Load.java @@ -883,7 +883,6 @@ void loadRDFa(Reader stream, String path, String base, String name) throws LoadE // load JSON-LD void loadJsonld(Reader stream, String path, String base, String name) throws LoadException { - // logger.info("Load JSON LD: " + path); CoreseJsonTripleCallback callback = new CoreseJsonTripleCallback(getGraph(), getDataManager(), name); callback.setHelper(renameBlankNode, getLimit()); diff --git a/sparql/src/main/java/fr/inria/corese/sparql/triple/parser/LoadTurtle.java b/sparql/src/main/java/fr/inria/corese/sparql/triple/parser/LoadTurtle.java index 5a182d816..3f845427f 100644 --- a/sparql/src/main/java/fr/inria/corese/sparql/triple/parser/LoadTurtle.java +++ b/sparql/src/main/java/fr/inria/corese/sparql/triple/parser/LoadTurtle.java @@ -90,7 +90,7 @@ private void setLoader(Reader stream, Creator c, String base) { private void setLoader(SparqlCorese parser, Creator c, String base) { try { - ASTQuery ast = ASTQuery.create(); + ast = ASTQuery.create(); ast.getNSM().setBase(base); ast.setRenameBlankNode(c.isRenameBlankNode()); parser.setASTQuery(ast);