-
Type:
Bug
-
Status: Resolved
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 2.1
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Lucene Fields:New, Patch Available
Term.equals(Object) does a cast to Term without checking if the other object is a Term.
It's unlikely that this would ever crop up but it violates the implied contract of Object.equals().