I have not looked in detail into it, but sometimes there are overloaded
methods and you have to do casts to decide which method to use. Ther might
also be superfluous casts.
Your patch did not make it through the list. If you want it applied, please
open a scarab issue.
Thomas
"Ray Malanga" <[EMAIL PROTECTED]> schrieb am 13.03.2005 20:34:04:
> I was looking at org.apache.torque.util.Criteria and there are a bunch of
> unnecessary casts to Object before calling other methods in Criteria or
> inherited from Hashmap.
> Was there a reason these Object instances were expicitly cast to Object
> instances? Did the parameter type used to be an interface?
>
> If not, there's a patch attached to remove the superfluous casts in
> org.apache.torque.util.Criteria only.
>
> - Ray M
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]