summaryrefslogtreecommitdiffstats
path: root/config-model/src/main/java/com/yahoo/vespa/documentmodel/SummaryField.java
diff options
context:
space:
mode:
Diffstat (limited to 'config-model/src/main/java/com/yahoo/vespa/documentmodel/SummaryField.java')
-rw-r--r--config-model/src/main/java/com/yahoo/vespa/documentmodel/SummaryField.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/config-model/src/main/java/com/yahoo/vespa/documentmodel/SummaryField.java b/config-model/src/main/java/com/yahoo/vespa/documentmodel/SummaryField.java
index 3eadd381508..b9d7a5953ab 100644
--- a/config-model/src/main/java/com/yahoo/vespa/documentmodel/SummaryField.java
+++ b/config-model/src/main/java/com/yahoo/vespa/documentmodel/SummaryField.java
@@ -74,10 +74,12 @@ public class SummaryField extends Field implements Cloneable, TypedKey {
}
public String getName() { return name; }
public String getValue() { return value; }
- public @Override int hashCode() {
+ @Override
+ public int hashCode() {
return name.hashCode() + 17*value.hashCode();
}
- public @Override boolean equals(Object obj) {
+ @Override
+ public boolean equals(Object obj) {
if (!(obj instanceof Property)) {
return false;
}