Skip to content

Commit 8eb1958

Browse files
Merge pull request #731 from Netflix/property-details-hashcode
Implement hashCode for PropertyDetails
2 parents 4f3bcd6 + bbd09f3 commit 8eb1958

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

archaius2-api/src/main/java/com/netflix/archaius/api/PropertyDetails.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ public Object getValue() {
2727
return value;
2828
}
2929

30+
@Override
31+
public int hashCode() {
32+
return Objects.hash(key, id, value);
33+
}
34+
3035
public boolean equals(Object o) {
3136
if (!(o instanceof PropertyDetails)) {
3237
return false;

0 commit comments

Comments
 (0)