summaryrefslogtreecommitdiffstats
path: root/sangria-contextual/src
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2014-09-15 21:23:29 -0400
committerTavian Barnes <tavianator@tavianator.com>2014-09-15 21:23:29 -0400
commita1a79fe8278909c2d913379e4dd9822ba1a44924 (patch)
treec52078b02f26087fa28138b967a57ee3aa14dadd /sangria-contextual/src
parent096baf42f69522d210cdc0895e4175dbc52e0bbd (diff)
parente842df4ea72951a63ad7267b65fccf4a8311e398 (diff)
downloadsangria-a1a79fe8278909c2d913379e4dd9822ba1a44924.tar.xz
Merge branch 'upgrade-dependencies'
Diffstat (limited to 'sangria-contextual/src')
-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();
}
}
}