summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@oath.com>2018-02-05 12:48:23 +0100
committerJon Bratseth <bratseth@oath.com>2018-02-05 12:48:23 +0100
commit595d685af6fe641cf735278925f73a570e441ab5 (patch)
treed56f65271215509e09473c917ac674dd32cca12f
parent5794c369b4dcfdc85163158d49788d6303bbf564 (diff)
Cleanup
-rw-r--r--config-model/src/test/java/com/yahoo/searchdefinition/processing/RankingExpressionWithTensorFlowTestCase.java17
1 files changed, 0 insertions, 17 deletions
diff --git a/config-model/src/test/java/com/yahoo/searchdefinition/processing/RankingExpressionWithTensorFlowTestCase.java b/config-model/src/test/java/com/yahoo/searchdefinition/processing/RankingExpressionWithTensorFlowTestCase.java
index 73c622cba7f..5203e686681 100644
--- a/config-model/src/test/java/com/yahoo/searchdefinition/processing/RankingExpressionWithTensorFlowTestCase.java
+++ b/config-model/src/test/java/com/yahoo/searchdefinition/processing/RankingExpressionWithTensorFlowTestCase.java
@@ -313,9 +313,6 @@ public class RankingExpressionWithTensorFlowTestCase {
private final File root;
- /** The content of the single query profile and type present in this, or null if none */
- private final String queryProfile, queryProfileType;
-
StoringApplicationPackage(Path applicationPackageWritableRoot) {
this(applicationPackageWritableRoot, null, null);
}
@@ -324,8 +321,6 @@ public class RankingExpressionWithTensorFlowTestCase {
super(null, null, Collections.emptyList(), null,
null, null, false, queryProfile, queryProfileType);
this.root = new File(applicationPackageWritableRoot.toString());
- this.queryProfile = queryProfile;
- this.queryProfileType = queryProfileType;
}
@Override
@@ -338,18 +333,6 @@ public class RankingExpressionWithTensorFlowTestCase {
return new StoringApplicationPackageFile(file, Path.fromString(root.toString()));
}
- @Override
- public List<NamedReader> getQueryProfileFiles() {
- if (queryProfile == null) return Collections.emptyList();
- return Collections.singletonList(new NamedReader("default.xml", new StringReader(queryProfile)));
- }
-
- @Override
- public List<NamedReader> getQueryProfileTypeFiles() {
- if (queryProfileType == null) return Collections.emptyList();
- return Collections.singletonList(new NamedReader("root.xml", new StringReader(queryProfileType)));
- }
-
}
private static class StoringApplicationPackageFile extends ApplicationFile {