Remove reference to deleted StringUtils class.

This commit is contained in:
ryounes 2011-04-05 17:05:48 +00:00
parent dbeceda47c
commit e7e853259a

View file

@ -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 = "<a class='externalLink' href='" + linkUrl + "'>" + linkAnchor + "</a>";