diff options
author | Jon Bratseth <bratseth@yahoo-inc.com> | 2016-08-15 14:53:04 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@yahoo-inc.com> | 2016-08-15 14:53:04 +0200 |
commit | 7ce10b163402ec030e066111527d4cddf17c1401 (patch) | |
tree | 6079de594ddc26c8a066df1aa16f0d4872cdeb88 /container-search/src/main/java/com/yahoo/search/federation/sourceref/SearchChainInvocationSpec.java | |
parent | 5533fcc881d516bf8e67ea6492ad6dc2174c6dd8 (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.java | 6 |
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); } } |