aboutsummaryrefslogtreecommitdiffstats
path: root/container-search/src
diff options
context:
space:
mode:
authorJon Marius Venstad <venstad@gmail.com>2021-05-07 14:49:44 +0200
committerJon Marius Venstad <venstad@gmail.com>2021-05-07 14:49:44 +0200
commit17d18f2ee5cdf49d78a6caf68467f24fd9d921c1 (patch)
tree9c080eb05a7721502c10eb929f6e522056410333 /container-search/src
parent89fd8d582f82283c4cdbd71b6f07851df816a698 (diff)
Remove unused fields
Diffstat (limited to 'container-search/src')
-rw-r--r--container-search/src/main/java/com/yahoo/search/query/Presentation.java2
-rw-r--r--container-search/src/main/java/com/yahoo/search/query/Select.java6
2 files changed, 2 insertions, 6 deletions
diff --git a/container-search/src/main/java/com/yahoo/search/query/Presentation.java b/container-search/src/main/java/com/yahoo/search/query/Presentation.java
index e147b14071a..b10e8442a5f 100644
--- a/container-search/src/main/java/com/yahoo/search/query/Presentation.java
+++ b/container-search/src/main/java/com/yahoo/search/query/Presentation.java
@@ -128,7 +128,7 @@ public class Presentation implements Cloneable {
return clone;
}
catch (CloneNotSupportedException e) {
- throw new RuntimeException("Someone inserted a noncloneable superclass",e);
+ throw new RuntimeException("Someone inserted a noncloneable superclass", e);
}
}
diff --git a/container-search/src/main/java/com/yahoo/search/query/Select.java b/container-search/src/main/java/com/yahoo/search/query/Select.java
index d90550084eb..a7e491f5269 100644
--- a/container-search/src/main/java/com/yahoo/search/query/Select.java
+++ b/container-search/src/main/java/com/yahoo/search/query/Select.java
@@ -1,7 +1,6 @@
// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.search.query;
-import com.yahoo.processing.request.CompoundName;
import com.yahoo.search.Query;
import com.yahoo.search.grouping.GroupingRequest;
import com.yahoo.search.query.parser.ParserEnvironment;
@@ -12,13 +11,12 @@ import com.yahoo.search.yql.VespaGroupingStep;
import java.util.ArrayList;
import java.util.Collections;
-import java.util.LinkedHashSet;
import java.util.List;
import java.util.Objects;
/**
- * The parameters defining the where-clause and groping of a query
+ * The parameters defining the where-clause and grouping of a query
*
* @author henrhoi
*/
@@ -26,7 +24,6 @@ public class Select implements Cloneable {
/** The type representing the property arguments consumed by this */
private static final QueryProfileType argumentType;
- private static final CompoundName argumentTypeName;
public static final String SELECT = "select";
public static final String WHERE = "where";
@@ -46,7 +43,6 @@ public class Select implements Cloneable {
argumentType.addField(new FieldDescription(WHERE, "string"));
argumentType.addField(new FieldDescription(GROUPING, "string"));
argumentType.freeze();
- argumentTypeName = new CompoundName(argumentType.getId().getName());
}
public static QueryProfileType getArgumentType() { return argumentType; }