unlimited idiocy
Oct. 14th, 2015 11:11 am/** {@inheritDoc} */ public final boolean equals(Object obj) { if(obj == this){ return true; } return super.equals(obj); }
and what do we see there in
super
:public class Object { ... public boolean equals(Object obj) { return (this == obj); }
What's even funnier, they do not lock
hashCode
, so anybody can have, theoretically, two distinct instances that are equal but have different hashcodes. Good that it's opensource; will grab the crap to my folder and fix it.