Skip to content

Commit da105a3

Browse files
committed
Do not replace existing ontologies in cache
1 parent c798452 commit da105a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/commonwl/view/cwl/RDFService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public RDFService(@Value("${sparql.endpoint}") String rdfService) {
5656
*/
5757
public void addToOntologies(Model model) {
5858
DatasetAccessor accessor = DatasetAccessorFactory.createHTTP(rdfService);
59-
accessor.putModel("ontologies", model);
59+
accessor.add("ontologies", model);
6060
}
6161

6262
/**

0 commit comments

Comments
 (0)