diff options
Diffstat (limited to 'container-search/src/main/java/com/yahoo/search/grouping/result/ValueGroupId.java')
-rw-r--r-- | container-search/src/main/java/com/yahoo/search/grouping/result/ValueGroupId.java | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/container-search/src/main/java/com/yahoo/search/grouping/result/ValueGroupId.java b/container-search/src/main/java/com/yahoo/search/grouping/result/ValueGroupId.java index 0230683dd47..72709c49919 100644 --- a/container-search/src/main/java/com/yahoo/search/grouping/result/ValueGroupId.java +++ b/container-search/src/main/java/com/yahoo/search/grouping/result/ValueGroupId.java @@ -1,8 +1,6 @@ // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.search.grouping.result; -import static com.yahoo.text.Lowercase.toLowerCase; - /** * This abstract class is used in {@link Group} instances where the identifying expression evaluated to a singe value. * @@ -15,8 +13,8 @@ public abstract class ValueGroupId<T> extends GroupId { /** * Constructs a new instance of this class. * - * @param type The type of this id's value. - * @param value The identifying value. + * @param type the type of this id's value + * @param value the identifying value */ public ValueGroupId(String type, T value) { this(type, value, String.valueOf(value.toString())); @@ -25,21 +23,18 @@ public abstract class ValueGroupId<T> extends GroupId { /** * Constructs a new instance of this class. * - * @param type The type of this id's value. - * @param value The identifying value. - * @param valueImage The String representation of the <code>value</code> argument. + * @param type the type of this id's value + * @param value the identifying value + * @param valueImage the String representation of the <code>value</code> argument */ public ValueGroupId(String type, T value, String valueImage) { super(type, valueImage); this.value = value; } - /** - * Returns the identifying value. - * - * @return The value. - */ + /** Returns the identifying value. */ public T getValue() { return value; } + } |