NIHVIVO-1600 Fixed typo for preferredTItle (was perferredTitle)

This commit is contained in:
nac26 2011-01-14 15:07:21 +00:00
parent 0e53c11203
commit 0a398b51c3

View file

@ -139,8 +139,8 @@ public class JSONServlet extends VitroHttpServlet {
DataProperty monikerDp = (new DataProperty()); DataProperty monikerDp = (new DataProperty());
monikerDp.setURI( VitroVocabulary.MONIKER); monikerDp.setURI( VitroVocabulary.MONIKER);
//this property is vivo specific //this property is vivo specific
DataProperty perferredTitleDp = (new DataProperty()); DataProperty preferredTitleDp = (new DataProperty());
perferredTitleDp.setURI("http://vivoweb.org/ontology/core#preferredTitle"); preferredTitleDp.setURI("http://vivoweb.org/ontology/core#preferredTitle");
if( log.isDebugEnabled() ){ if( log.isDebugEnabled() ){
@ -205,7 +205,7 @@ public class JSONServlet extends VitroHttpServlet {
jo.put("moniker", moniker); jo.put("moniker", moniker);
jo.put("vclassName", getVClassName(ind,moniker,fullWdf)); jo.put("vclassName", getVClassName(ind,moniker,fullWdf));
jo.put("perferredTitle", getDataPropertyValue(ind, perferredTitleDp, fullWdf)); jo.put("preferredTitle", getDataPropertyValue(ind, preferredTitleDp, fullWdf));
jo.put("firstName", getDataPropertyValue(ind, fNameDp, fullWdf)); jo.put("firstName", getDataPropertyValue(ind, fNameDp, fullWdf));
jo.put("lastName", getDataPropertyValue(ind, lNameDp, fullWdf)); jo.put("lastName", getDataPropertyValue(ind, lNameDp, fullWdf));