mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-06 02:35:33 +08:00
fix for issue #379
This commit is contained in:
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
# ignore eclipse project files
|
||||
.project
|
||||
.classpath
|
@@ -1289,7 +1289,7 @@ public class JSONArray implements Iterable<Object> {
|
||||
Object valueThis = this.myArrayList.get(i);
|
||||
Object valueOther = ((JSONArray)other).myArrayList.get(i);
|
||||
if(valueThis == valueOther) {
|
||||
return true;
|
||||
continue;
|
||||
}
|
||||
if(valueThis == null) {
|
||||
return false;
|
||||
|
@@ -1844,7 +1844,7 @@ public class JSONObject {
|
||||
Object valueThis = entry.getValue();
|
||||
Object valueOther = ((JSONObject)other).get(name);
|
||||
if(valueThis == valueOther) {
|
||||
return true;
|
||||
continue;
|
||||
}
|
||||
if(valueThis == null) {
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user