Re: [Codenarc-user] implementing Cloneable
Brought to you by:
chrismair
From: R. S. <ren...@go...> - 2011-07-04 13:18:12
|
There is bug in v0.14. It's already fixed in the current development version (http://sourceforge.net/tracker/?func=detail&aid=3317632&group_id=250145&atid=1126573). It will be rolled out with the next release. Regards, René Scheibe On 07/04/2011 02:28 PM, Roshan Dawrani wrote: > Hi, > > Can someone help me see what is wrong in the following code: > ------------------------------------------------------------------------------- > class Dummy implements Cloneable { > Object clone() { > super.clone() > } > } > ------------------------------------------------------------------------------- > > CodeNarc output shows and I can't figure out how to make it happy: > ------------------------------------------------------------------------------- > line: 1 CloneableWithoutClone The class Dummy implements Cloneable but > does not define a proper clone() method source: class Dummy implements > Cloneable { > ------------------------------------------------------------------------------- > > -- > Roshan > Blog: http://roshandawrani.wordpress.com/ > Twitter: @roshandawrani <http://twitter.com/roshandawrani> > Skype: roshandawrani > > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > > > > _______________________________________________ > Codenarc-user mailing list > Cod...@li... > https://lists.sourceforge.net/lists/listinfo/codenarc-user |