Skip to content

Commit

Permalink
Merge pull request #139 from bodnara/removeLargeAttributes
Browse files Browse the repository at this point in the history
Remove large attributes
  • Loading branch information
zlamalp authored Jan 19, 2021
2 parents 10d34cf + 8ef7822 commit 83615ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 83615ac

Please sign in to comment.