Skip to content

Commit

Permalink
fix for issue stleary#379
Browse files Browse the repository at this point in the history
  • Loading branch information
johnjaylward committed Nov 6, 2017
1 parent f16682b commit 4a4b2db
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# ignore eclipse project files
.project
.classpath
2 changes: 1 addition & 1 deletion JSONArray.java
Original file line number Diff line number Diff line change
Expand Up @@ -1289,7 +1289,7 @@ public boolean similar(Object other) {
Object valueThis = this.myArrayList.get(i);
Object valueOther = ((JSONArray)other).myArrayList.get(i);
if(valueThis == valueOther) {
return true;
continue;
}
if(valueThis == null) {
return false;
Expand Down
2 changes: 1 addition & 1 deletion JSONObject.java
Original file line number Diff line number Diff line change
Expand Up @@ -1844,7 +1844,7 @@ public boolean similar(Object other) {
Object valueThis = entry.getValue();
Object valueOther = ((JSONObject)other).get(name);
if(valueThis == valueOther) {
return true;
continue;
}
if(valueThis == null) {
return false;
Expand Down

0 comments on commit 4a4b2db

Please sign in to comment.