Skip to content

Commit e9c1a83

Browse files
authored
Make scaledbigdecomal equals nullable (#69)
1 parent fb9d283 commit e9c1a83

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/java/it/aboutbits/springboot/toolbox/type/ScaledBigDecimal.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import lombok.Getter;
66
import lombok.experimental.Accessors;
77
import org.jspecify.annotations.NullMarked;
8+
import org.jspecify.annotations.Nullable;
89

910
import java.math.BigDecimal;
1011
import java.math.BigInteger;
@@ -218,7 +219,7 @@ public String toString() {
218219
}
219220

220221
@Override
221-
public boolean equals(Object o) {
222+
public boolean equals(@Nullable Object o) {
222223
if (this == o) {
223224
return true;
224225
}

0 commit comments

Comments
 (0)