mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-06 10:45:23 +08:00
@@ -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