diff --git a/servo-core/src/main/java/com/netflix/servo/tag/BasicTag.java b/servo-core/src/main/java/com/netflix/servo/tag/BasicTag.java index 4d732904..175bbb20 100644 --- a/servo-core/src/main/java/com/netflix/servo/tag/BasicTag.java +++ b/servo-core/src/main/java/com/netflix/servo/tag/BasicTag.java @@ -15,7 +15,6 @@ */ package com.netflix.servo.tag; -import com.google.common.base.Objects; import com.google.common.base.Preconditions; /** @@ -67,7 +66,9 @@ public boolean equals(Object o) { /** {@inheritDoc} */ @Override public int hashCode() { - return Objects.hashCode(key, value); + int result = key.hashCode(); + result = 31 * result + value.hashCode(); + return result; } /** {@inheritDoc} */