aboutsummaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/prelude/fastsearch/ClusterParams.java
diff options
context:
space:
mode:
Diffstat (limited to 'container-search/src/main/java/com/yahoo/prelude/fastsearch/ClusterParams.java')
-rw-r--r--container-search/src/main/java/com/yahoo/prelude/fastsearch/ClusterParams.java13
1 files changed, 1 insertions, 12 deletions
diff --git a/container-search/src/main/java/com/yahoo/prelude/fastsearch/ClusterParams.java b/container-search/src/main/java/com/yahoo/prelude/fastsearch/ClusterParams.java
index 3dfa506a967..2787447e791 100644
--- a/container-search/src/main/java/com/yahoo/prelude/fastsearch/ClusterParams.java
+++ b/container-search/src/main/java/com/yahoo/prelude/fastsearch/ClusterParams.java
@@ -1,8 +1,6 @@
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.prelude.fastsearch;
-import com.yahoo.container.search.LegacyEmulationConfig;
-
/**
* Helper class for carrying around cluster-related
* config parameters to the FastSearcher class.
@@ -12,21 +10,12 @@ import com.yahoo.container.search.LegacyEmulationConfig;
public class ClusterParams {
public final String searcherName;
- public final LegacyEmulationConfig emulation;
-
- /**
- * For testcases only
- */
- public ClusterParams(String name) {
- this(name, new LegacyEmulationConfig(new LegacyEmulationConfig.Builder()));
- }
/**
* Make up full ClusterParams
*/
- public ClusterParams(String name, LegacyEmulationConfig cfg) {
+ public ClusterParams(String name) {
this.searcherName = name;
- this.emulation = cfg;
}
}