NIHVIVO-2452 Remove more unused code from former front end vitro namespace property editing

This commit is contained in:
ryounes 2011-04-05 20:34:17 +00:00
parent 3610974111
commit 8c988d8485
2 changed files with 2 additions and 78 deletions

View file

@ -84,7 +84,7 @@
DataProperty dataproperty = wdf.getDataPropertyDao().getDataPropertyByURI( predicateUri );
if( dataproperty == null) {
// No dataproperty will be returned for rdfs:label, but we shouldn't throw an error.
// RY ** Consider instead getting rdfs:label included in what's returned
// This is controlled by the Jena layer, so we can't change the behavior.
if (! predicateUri.equals(VitroVocabulary.LABEL)) {
log.error("Could not find data property '"+predicateUri+"' in model");
throw new Error("editDatapropStmtRequest.jsp: Could not find DataProperty in model: " + predicateUri);