Skip to content

Commit d9c12e2

Browse files
committed
#71 Update CertificationStatus equals and hashcode method
1 parent cff52e9 commit d9c12e2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/org/unicitylabs/sdk/api/CertificationStatus.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,12 @@ public boolean equals(Object o) {
112112
if (!(o instanceof CertificationStatus)) {
113113
return false;
114114
}
115-
return this.value.equalsIgnoreCase(((CertificationStatus) o).value);
115+
return this.value.equals(((CertificationStatus) o).value);
116116
}
117117

118118
@Override
119119
public int hashCode() {
120-
return this.value.toUpperCase().hashCode();
120+
return this.value.hashCode();
121121
}
122122

123123
@Override

0 commit comments

Comments
 (0)