Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
5.0
-
None
-
New
Description
As a followup to LUCENE-6304, all classes that subclass Query and override the equals and hashCode methods should call super.equals/hashCode and, when possible, not override the methods at all.
For example, TermQuery.hashCode overrides the Query.hashCode, but will be exactly the same code once LUCENE-6304 is merged.