Remove reference to deleted StringUtils class.
This commit is contained in:
parent
dbeceda47c
commit
e7e853259a
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ public class FrontEndEditingUtils {
|
||||||
String displayName = null;
|
String displayName = null;
|
||||||
|
|
||||||
// These are the only Vitro namespace object properties that are editable on the front end at this point.
|
// 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 linkAnchor = getLiteralValue(model, object, VitroVocabulary.LINK_ANCHOR);
|
||||||
String linkUrl = getLiteralValue(model, object, VitroVocabulary.LINK_URL);
|
String linkUrl = getLiteralValue(model, object, VitroVocabulary.LINK_URL);
|
||||||
displayName = "<a class='externalLink' href='" + linkUrl + "'>" + linkAnchor + "</a>";
|
displayName = "<a class='externalLink' href='" + linkUrl + "'>" + linkAnchor + "</a>";
|
||||||
|
|
Loading…
Add table
Reference in a new issue