From e7e853259a6b6488b854e648857a75dea6dbb2a6 Mon Sep 17 00:00:00 2001 From: ryounes Date: Tue, 5 Apr 2011 17:05:48 +0000 Subject: [PATCH] Remove reference to deleted StringUtils class. --- .../mannlib/vitro/webapp/utils/FrontEndEditingUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/src/edu/cornell/mannlib/vitro/webapp/utils/FrontEndEditingUtils.java b/webapp/src/edu/cornell/mannlib/vitro/webapp/utils/FrontEndEditingUtils.java index c4ec9d8bd..76e73cf17 100644 --- a/webapp/src/edu/cornell/mannlib/vitro/webapp/utils/FrontEndEditingUtils.java +++ b/webapp/src/edu/cornell/mannlib/vitro/webapp/utils/FrontEndEditingUtils.java @@ -77,7 +77,7 @@ public class FrontEndEditingUtils { String displayName = null; // These are the only Vitro namespace object properties that are editable on the front end at this point. - if (StringUtils.equalsOneOf(predicateUri, VitroVocabulary.PRIMARY_LINK, VitroVocabulary.ADDITIONAL_LINK)) { + if ( predicateUri.equals(VitroVocabulary.PRIMARY_LINK) || predicateUri.equals(VitroVocabulary.ADDITIONAL_LINK) ) { String linkAnchor = getLiteralValue(model, object, VitroVocabulary.LINK_ANCHOR); String linkUrl = getLiteralValue(model, object, VitroVocabulary.LINK_URL); displayName = "" + linkAnchor + "";