We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b48c17d commit 1553900Copy full SHA for 1553900
1 file changed
spectator-api/src/main/java/com/netflix/spectator/api/Measurement.java
@@ -63,8 +63,8 @@ public int hashCode() {
63
final int prime = 31;
64
int hc = prime;
65
hc = prime * hc + id.hashCode();
66
- hc = prime * hc + Long.valueOf(timestamp).hashCode();
67
- hc = prime * hc + Double.valueOf(value).hashCode();
+ hc = prime * hc + Long.hashCode(timestamp);
+ hc = prime * hc + Double.hashCode(value);
68
return hc;
69
}
70
0 commit comments