Remove already covered condition in JsonNull.equals() (#2271)

This commit is contained in:
Maicol 2022-12-06 19:43:08 +01:00 committed by GitHub
parent c9c8e8f1bc
commit 66d934ba44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}