Skip to content

Commit

Permalink
[#227] Removed unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgenii Grigorev committed Feb 7, 2025
1 parent 9105376 commit 6812154
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,6 @@ private Model runModule(final Model inputDataModel, final MultiValueMap<String,
if (scriptManager.doesRegistryContainsEntity(id)) {
module = scriptManager.loadModule(id, null, null);
}
else {
module = PipelineFactory.loadModule(configModel.createResource(id));
}
if (module == null) {
throw new SPipesServiceException("Cannot load module with id=" + id);
}
Expand Down Expand Up @@ -366,7 +363,7 @@ private void extendBindingFromURL(VariablesBinding inputVariablesBinding, URL in
File file = new File(path);
InputStream is = new FileInputStream(file);
vb2.load(is, FileUtils.langTurtle);
//vb2.load(inputBindingURL.openStream(), FileUtils.langTurtle);
is.close();
VariablesBinding vb3 = inputVariablesBinding.extendConsistently(vb2);
if (vb3.isEmpty()) {
log.debug("- no conflict between bindings loaded from '{}' and those provided in query string.",
Expand Down

0 comments on commit 6812154

Please sign in to comment.