From 0a398b51c36dff8bf2e0acd39f39cc480ee25782 Mon Sep 17 00:00:00 2001 From: nac26 Date: Fri, 14 Jan 2011 15:07:21 +0000 Subject: [PATCH] NIHVIVO-1600 Fixed typo for preferredTItle (was perferredTitle) --- .../mannlib/vitro/webapp/controller/JSONServlet.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/JSONServlet.java b/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/JSONServlet.java index 3a27a8401..e250fece0 100644 --- a/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/JSONServlet.java +++ b/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/JSONServlet.java @@ -139,8 +139,8 @@ public class JSONServlet extends VitroHttpServlet { DataProperty monikerDp = (new DataProperty()); monikerDp.setURI( VitroVocabulary.MONIKER); //this property is vivo specific - DataProperty perferredTitleDp = (new DataProperty()); - perferredTitleDp.setURI("http://vivoweb.org/ontology/core#preferredTitle"); + DataProperty preferredTitleDp = (new DataProperty()); + preferredTitleDp.setURI("http://vivoweb.org/ontology/core#preferredTitle"); if( log.isDebugEnabled() ){ @@ -205,7 +205,7 @@ public class JSONServlet extends VitroHttpServlet { jo.put("moniker", moniker); 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("lastName", getDataPropertyValue(ind, lNameDp, fullWdf));