NIHVIVO-3523 catch up with the trunk

This commit is contained in:
j2blake 2012-01-09 15:46:12 +00:00
commit 72a8bc9c10

View file

@ -730,7 +730,9 @@ public class VClassDaoJena extends JenaBaseDao implements VClassDao {
} }
if (superVclass != null) { if (superVclass != null) {
vClasses.add(superVclass); vClasses.add(superVclass);
String isInferencing = getWebappDaoFactory().getProperties().get("infersTypes"); //Commenting out this section to prevent all subclasses of owl:Thing
//returned if range is owl:Thing, refer to NIHVIVO-3357
/* String isInferencing = getWebappDaoFactory().getProperties().get("infersTypes");
// if this model infers types based on the taxonomy, adding the subclasses will only // if this model infers types based on the taxonomy, adding the subclasses will only
// waste time for no benefit // waste time for no benefit
PelletListener pl = getWebappDaoFactory().getPelletListener(); PelletListener pl = getWebappDaoFactory().getPelletListener();
@ -743,7 +745,7 @@ public class VClassDaoJena extends JenaBaseDao implements VClassDao {
if (vClass != null) if (vClass != null)
vClasses.add(vClass); vClasses.add(vClass);
} }
} } */
} }
} }
} }