summaryrefslogtreecommitdiffstats
path: root/sangria-contextual/src/main/java/com/tavianator
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2014-09-15 21:05:42 -0400
committerTavian Barnes <tavianator@tavianator.com>2014-09-15 21:05:42 -0400
commit76770fc4a0983220eee6d673a7a187a9e26ce0f8 (patch)
tree9eb813dcf0144b5b4737f420abba813bfe31fb31 /sangria-contextual/src/main/java/com/tavianator
parent4840690222644d7398749922ac3128ff726c5124 (diff)
downloadsangria-76770fc4a0983220eee6d673a7a187a9e26ce0f8.tar.xz
Don't use Guava's Objects.
Diffstat (limited to 'sangria-contextual/src/main/java/com/tavianator')
-rw-r--r--sangria-contextual/src/main/java/com/tavianator/sangria/contextual/ContextSensitiveBinder.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/sangria-contextual/src/main/java/com/tavianator/sangria/contextual/ContextSensitiveBinder.java b/sangria-contextual/src/main/java/com/tavianator/sangria/contextual/ContextSensitiveBinder.java
index ec2d7a7..6d5e502 100644
--- a/sangria-contextual/src/main/java/com/tavianator/sangria/contextual/ContextSensitiveBinder.java
+++ b/sangria-contextual/src/main/java/com/tavianator/sangria/contextual/ContextSensitiveBinder.java
@@ -21,7 +21,6 @@ import java.lang.annotation.Annotation;
import java.util.*;
import javax.inject.Inject;
-import com.google.common.base.Objects;
import com.google.inject.AbstractModule;
import com.google.inject.Binder;
import com.google.inject.Binding;
@@ -236,7 +235,7 @@ public class ContextSensitiveBinder {
@Override
public int hashCode() {
- return Objects.hashCode(providerKey);
+ return providerKey.hashCode();
}
}
@@ -296,7 +295,7 @@ public class ContextSensitiveBinder {
@Override
public int hashCode() {
- return Objects.hashCode(instance);
+ return instance.hashCode();
}
}
@@ -358,7 +357,7 @@ public class ContextSensitiveBinder {
@Override
public int hashCode() {
- return Objects.hashCode(key);
+ return key.hashCode();
}
}
}