aboutsummaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/search/query/profile/types/QueryProfileFieldType.java
diff options
context:
space:
mode:
Diffstat (limited to 'container-search/src/main/java/com/yahoo/search/query/profile/types/QueryProfileFieldType.java')
-rw-r--r--container-search/src/main/java/com/yahoo/search/query/profile/types/QueryProfileFieldType.java12
1 files changed, 8 insertions, 4 deletions
diff --git a/container-search/src/main/java/com/yahoo/search/query/profile/types/QueryProfileFieldType.java b/container-search/src/main/java/com/yahoo/search/query/profile/types/QueryProfileFieldType.java
index df52e78c6ef..724931b6c41 100644
--- a/container-search/src/main/java/com/yahoo/search/query/profile/types/QueryProfileFieldType.java
+++ b/container-search/src/main/java/com/yahoo/search/query/profile/types/QueryProfileFieldType.java
@@ -38,17 +38,21 @@ public class QueryProfileFieldType extends FieldType {
/** Returns the query profile type of this, or null if any type works */
public QueryProfileType getQueryProfileType() { return type; }
- public @Override Class<?> getValueClass() { return QueryProfile.class; }
+ @Override
+ public Class<?> getValueClass() { return QueryProfile.class; }
- public @Override String stringValue() {
+ @Override
+ public String stringValue() {
return "query-profile" + (type!=null ? ":" + type.getId().getName() : "");
}
- public @Override String toString() {
+ @Override
+ public String toString() {
return "field type " + stringValue();
}
- public @Override String toInstanceDescription() {
+ @Override
+ public String toInstanceDescription() {
return "reference to a query profile" + (type!=null ? " of type '" + type.getId().getName() + "'" : "");
}