Remove already covered condition in JsonNull.equals() (#2271)
This commit is contained in:
parent
c9c8e8f1bc
commit
66d934ba44
|
@ -64,6 +64,6 @@ public final class JsonNull extends JsonElement {
|
|||
*/
|
||||
@Override
|
||||
public boolean equals(Object other) {
|
||||
return this == other || other instanceof JsonNull;
|
||||
return other instanceof JsonNull;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue