diff --git a/perun-wui-core/src/main/java/cz/metacentrum/perun/wui/model/beans/Attribute.java b/perun-wui-core/src/main/java/cz/metacentrum/perun/wui/model/beans/Attribute.java index c49f17c4..fd1edbca 100644 --- a/perun-wui-core/src/main/java/cz/metacentrum/perun/wui/model/beans/Attribute.java +++ b/perun-wui-core/src/main/java/cz/metacentrum/perun/wui/model/beans/Attribute.java @@ -188,9 +188,9 @@ public final boolean isEmpty() { return getValue().isEmpty(); case "java.lang.Boolean": return getValue().isEmpty(); - case "java.lang.LargeString": + case "java.lang.String": return getValue().isEmpty(); - case "java.util.LargeArrayList": + case "java.util.ArrayList": return getValue().isEmpty(); default: return getValueAsJsArray().length() == 0; diff --git a/perun-wui-core/src/main/java/cz/metacentrum/perun/wui/model/columnProviders/AttributeColumnProvider.java b/perun-wui-core/src/main/java/cz/metacentrum/perun/wui/model/columnProviders/AttributeColumnProvider.java index ba7430a1..dbec92e2 100644 --- a/perun-wui-core/src/main/java/cz/metacentrum/perun/wui/model/columnProviders/AttributeColumnProvider.java +++ b/perun-wui-core/src/main/java/cz/metacentrum/perun/wui/model/columnProviders/AttributeColumnProvider.java @@ -191,9 +191,9 @@ public Attribute getObject() { return generateNumberBox(attr.getValue()); } else if (attr.getType().equals("java.lang.Boolean")) { return generateCheckBox(attr.getValue()); - } else if (attr.getType().equals("java.lang.LargeString")) { + } else if (attr.getType().equals("java.lang.String")) { return generateString(attr.getValue()); - } else if (attr.getType().equals("java.util.LargeArrayList")) { + } else if (attr.getType().equals("java.util.ArrayList")) { return generateList(attr.getValueAsJsArray()); } else { return generateList(attr.getValueAsJsArray());