Patch fixes bad equals signatures 2004-07-08 - By dbrosius@(protected)
When implementing the .equals method, the parameter should be defined as Object otherwise calls like this
XInt i = new XInt( 1 );
if (i.equals( myMap.get("foo")))
may call the wrong method (the one in Object), and cause havoc
This patch fixes the problems.
--------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-dev-unsubscribe@(protected) For additional commands, e-mail: xerces-j-dev-help@(protected)
|
|