Skip to content
This repository has been archived by the owner on Aug 26, 2023. It is now read-only.

Commit

Permalink
rdf-protege: minor enhancement -- remove obviously superfluous callin…
Browse files Browse the repository at this point in the history
…g of the method OWLOntology#referencingAxioms(OWLPrimitive)
  • Loading branch information
sszuev committed Apr 16, 2020
1 parent 8ccd2cd commit 81e5885
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ public void setOWLEntity(OWLEntity owlEntity) {
usageCount = 0;

for (OWLOntology ont : owlModelManager.getActiveOntologies()) {
ont.referencingAxioms(owlEntity).forEach(this::addUsage);
ont.referencingAxioms(owlEntity.getIRI()).forEach(this::addUsage);
// This is terribly inefficient but there are no indexes in the OWL API to do this.
ont.axioms(AxiomType.ANNOTATION_ASSERTION).forEach(ax -> {
Expand Down

0 comments on commit 81e5885

Please sign in to comment.