Jacques Morel wrote:
    > Why not all canonical methods (equals,hashCode,toString)?

Because toString() is an exception :
it is frequent/not rare to overwrite it SOLELY to ease debugging sessions.

On the other hand, equals(), hashCode(), clone(), .. serve a real 
purpose, for real usage, by real code.



Jacques Morel wrote:
> Why not all canonical methods (equals,hashCode,toString)?
> 
> "Alain Ravet" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 
<snip>
>>Request :
>>    Add an option to not consider toString() as a field accessor
>>    when detecting assigned but never accessed fields.

_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-features

Reply via email to