summaryrefslogtreecommitdiffstats
path: root/container-search
diff options
context:
space:
mode:
authorValerij Fredriksen <freva@users.noreply.github.com>2021-05-07 15:38:33 +0200
committerGitHub <noreply@github.com>2021-05-07 15:38:33 +0200
commitcae8dc88c08cd14f7fff6eb91ec44df2ec1285d9 (patch)
tree41c3033919daeaef3e9d272385ab1e9579527a4a /container-search
parentad66501b29e1ea3edc515af871caa7c41297921a (diff)
parentca663df8b7af46fcd6b59631617e1f2fc725954c (diff)
Merge pull request #17775 from vespa-engine/jonmv/badges
Jonmv/badges
Diffstat (limited to 'container-search')
-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; }