Re: [Codenarc-user] ExplicitCallToEqualsMethod and implementing equals method
Brought to you by:
chrismair
From: Chris M. <chr...@ea...> - 2011-05-31 01:52:46
|
I agree. Can you please open a bug tracker issue for that? I think we can and should ignore calls within an equals() method definition. Chris -----Original Message----- From: René Scheibe [mailto:ren...@go...] Sent: Monday, May 30, 2011 3:33 PM To: codenarc-user Subject: [Codenarc-user] ExplicitCallToEqualsMethod and implementing equals method How is it possible to implement an equals method with the help of the superclass' equals method? @Override boolean equals(Object that) { ... super.equals(that) } Shouldn't the ExplicitCallToEqualsMethod rule allow this? Regards, René Scheibe ---------------------------------------------------------------------------- -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Codenarc-user mailing list Cod...@li... https://lists.sourceforge.net/lists/listinfo/codenarc-user |