diff --git a/core/src/main/java/org/elasticsearch/search/aggregations/InternalAggregation.java b/core/src/main/java/org/elasticsearch/search/aggregations/InternalAggregation.java
index 3b73d8b13d7..9928d7eb127 100644
--- a/core/src/main/java/org/elasticsearch/search/aggregations/InternalAggregation.java
+++ b/core/src/main/java/org/elasticsearch/search/aggregations/InternalAggregation.java
@@ -195,9 +195,8 @@ public abstract class InternalAggregation implements Aggregation, ToXContent, Na
return Objects.hash(name, metaData, pipelineAggregators, doHashCode());
}
- // norelease: make this abstract when all InternalAggregations implement this method
/**
- * Opportunity for subclasses to the {@link #hashCode(Object)} for this
+ * Opportunity for subclasses to the {@link #hashCode()} for this
* class.
**/
protected int doHashCode() {
@@ -223,7 +222,7 @@ public abstract class InternalAggregation implements Aggregation, ToXContent, Na
/**
* Opportunity for subclasses to add criteria to the {@link #equals(Object)}
* method for this class.
- *
+ *
* This method can safely cast obj
to the subclass since the
* {@link #equals(Object)} method checks that obj
is the same
* class as this