summaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/search/federation/sourceref/SearchChainInvocationSpec.java
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@yahoo-inc.com>2016-08-15 14:53:04 +0200
committerJon Bratseth <bratseth@yahoo-inc.com>2016-08-15 14:53:04 +0200
commit7ce10b163402ec030e066111527d4cddf17c1401 (patch)
tree6079de594ddc26c8a066df1aa16f0d4872cdeb88 /container-search/src/main/java/com/yahoo/search/federation/sourceref/SearchChainInvocationSpec.java
parent5533fcc881d516bf8e67ea6492ad6dc2174c6dd8 (diff)
Nonfunctional changes
Diffstat (limited to 'container-search/src/main/java/com/yahoo/search/federation/sourceref/SearchChainInvocationSpec.java')
-rw-r--r--container-search/src/main/java/com/yahoo/search/federation/sourceref/SearchChainInvocationSpec.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/container-search/src/main/java/com/yahoo/search/federation/sourceref/SearchChainInvocationSpec.java b/container-search/src/main/java/com/yahoo/search/federation/sourceref/SearchChainInvocationSpec.java
index c4d168af085..db997ea4339 100644
--- a/container-search/src/main/java/com/yahoo/search/federation/sourceref/SearchChainInvocationSpec.java
+++ b/container-search/src/main/java/com/yahoo/search/federation/sourceref/SearchChainInvocationSpec.java
@@ -57,11 +57,7 @@ public class SearchChainInvocationSpec implements Cloneable {
@Override
public int hashCode() {
- return searchChainId.hashCode() +
- (source != null ? 3 * source.hashCode() : 0) +
- (provider != null ? 5 * provider.hashCode(): 0) +
- federationOptions.hashCode() +
- documentTypes.hashCode();
+ return Objects.hash(searchChainId, source, provider, federationOptions, documentTypes);
}
}