Skip to content
This repository has been archived by the owner on Mar 20, 2019. It is now read-only.

Commit

Permalink
Sped up node comparison of mixed types
Browse files Browse the repository at this point in the history
  • Loading branch information
arvid committed Mar 13, 2014
1 parent c6b9287 commit d772106
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,6 @@ protected void checkForSameType(final IJsonNode other) {
}

protected int compareToOtherType(final IJsonNode other) {
return this.getType().getName().compareTo(other.getType().getName());
return this.getType().getSimpleName().compareTo(other.getType().getSimpleName());
}
}

0 comments on commit d772106

Please sign in to comment.