Consistently declare @⁠Nullable on parameter in equals() implementations

Closes gh-36075

Signed-off-by: 木葉 Scarlet <93977077+mukjepscarlet@users.noreply.github.com>
This commit is contained in:
木葉 Scarlet
2025-12-27 18:21:27 +08:00
committed by Sam Brannen
parent 7212fbe36a
commit d077e043d6
14 changed files with 27 additions and 22 deletions
@@ -247,7 +247,7 @@ final class BitsCronField extends CronField {
@Override
public boolean equals(Object other) {
public boolean equals(@Nullable Object other) {
return (this == other || (other instanceof BitsCronField that &&
type() == that.type() && this.bits == that.bits));
}