diff --git a/src/fr/inrialpes/exmo/align/onto/owlapi10/OWLAPIOntology.java b/src/fr/inrialpes/exmo/align/onto/owlapi10/OWLAPIOntology.java index 05af7d131224f6b9c1355b1a37e4a706339fdc25..8eee9c6ac81fcbf0ee1774be42c11bcaf2dc2f0d 100644 --- a/src/fr/inrialpes/exmo/align/onto/owlapi10/OWLAPIOntology.java +++ b/src/fr/inrialpes/exmo/align/onto/owlapi10/OWLAPIOntology.java @@ -238,7 +238,7 @@ public class OWLAPIOntology extends BasicOntology<OWLOntology> implements HeavyL Set<Object> entities = new HashSet<Object>(); for (Object obj : ec.entities()) { // JD: OWLEntitytCollector seems to return anonymous entities :&& ((OWLEntity)obj).getURI()!=null - if (c.isInstance(obj) && ((OWLEntity) obj).getURI()!=null &&((OWLEntity) obj).getURI().toString().startsWith(onto.getURI().toString()) ){ + if (c.isInstance(obj) && ((OWLEntity) obj).getURI()!=null) { // &&((OWLEntity) obj).getURI().toString().startsWith(onto.getURI().toString()) ){ entities.add(obj); } }