We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76f5ed4 commit adca423Copy full SHA for adca423
src/main/java/dev/personnummer/Personnummer.java
@@ -229,12 +229,15 @@ public int hashCode() {
229
230
@Override
231
public boolean equals(Object obj) {
232
- if (this == obj)
+ if (this == obj) {
233
return true;
234
- if (obj == null)
+ }
235
+ if (obj == null) {
236
return false;
- if (getClass() != obj.getClass())
237
238
+ if (getClass() != obj.getClass()) {
239
240
241
Personnummer other = (Personnummer) obj;
242
return Objects.equals(format(true), other.format(true));
243
}
0 commit comments