fixed jdocs and removed already fixed norelease

This commit is contained in:
Martijn van Groningen 2016-12-22 14:18:30 +01:00
parent 06576ed13b
commit acd64c6ee1
1 changed files with 2 additions and 3 deletions

View File

@ -195,9 +195,8 @@ public abstract class InternalAggregation implements Aggregation, ToXContent, Na
return Objects.hash(name, metaData, pipelineAggregators, doHashCode()); 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. * class.
**/ **/
protected int doHashCode() { 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)} * Opportunity for subclasses to add criteria to the {@link #equals(Object)}
* method for this class. * method for this class.
* *
* This method can safely cast <code>obj</code> to the subclass since the * This method can safely cast <code>obj</code> to the subclass since the
* {@link #equals(Object)} method checks that <code>obj</code> is the same * {@link #equals(Object)} method checks that <code>obj</code> is the same
* class as <code>this</code> * class as <code>this</code>