Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ public int getType() {

@Override
public boolean isNull() {
return (size() == 0);
return isEmpty();
}

void normalize() {
Expand All @@ -434,7 +434,7 @@ else if (!(lastItem instanceof ListItem)) {
@Override
public int compareTo(Item item) {
if (item == null) {
if (size() == 0) {
if (isEmpty()) {
return 0; // 1-0 = 1- (normalize) = 1
}
Item first = get(0);
Expand Down
Loading