mirror of
https://github.com/stleary/JSON-java.git
synced 2026-04-25 00:00:54 -04:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| fb71d9d40f | |||
| b48abe6558 | |||
| 97023e1098 |
@@ -128,6 +128,7 @@ public class JSONObject {
|
||||
* null.
|
||||
*/
|
||||
@Override
|
||||
@SuppressWarnings("lgtm[java/unchecked-cast-in-equals]")
|
||||
public boolean equals(Object object) {
|
||||
return object == null || object == this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user