aboutsummaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/search/intent/model/Source.java
diff options
context:
space:
mode:
Diffstat (limited to 'container-search/src/main/java/com/yahoo/search/intent/model/Source.java')
-rw-r--r--container-search/src/main/java/com/yahoo/search/intent/model/Source.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/container-search/src/main/java/com/yahoo/search/intent/model/Source.java b/container-search/src/main/java/com/yahoo/search/intent/model/Source.java
index f224612f23f..cd6b8cca28d 100644
--- a/container-search/src/main/java/com/yahoo/search/intent/model/Source.java
+++ b/container-search/src/main/java/com/yahoo/search/intent/model/Source.java
@@ -23,15 +23,18 @@ public class Source {
/** Returns the id of this source, never null */
public String getId() { return id; }
- public @Override int hashCode() { return id.hashCode(); }
+ @Override
+ public int hashCode() { return id.hashCode(); }
- public @Override boolean equals(Object other) {
+ @Override
+ public boolean equals(Object other) {
if (other==this) return true;
if ( ! (other instanceof Source)) return false;
return this.id.equals(((Source)other).id);
}
/** Returns the id of this source */
- public @Override String toString() { return id; }
+ @Override
+ public String toString() { return id; }
}