rspec/rules/S1182/java/comments-and-links.adoc

20 lines
611 B
Plaintext

=== is related to: S2975
=== on 7 Aug 2013, 09:59:21 Freddy Mallet wrote:
Is implemented by \http://jira.codehaus.org/browse/SONARJAVA-271
=== on 7 Aug 2013, 13:20:27 Dinesh Bolkensteyn wrote:
I fail to see why it would be mandatory to have the method throw the CloneNotSupportedException.
You can perfectly catch and propagate (as an unchecked exception) the instance thrown by super.clone().
So the PMD rule does not seem to make a lot of sense.
In any case, I doubt that this method is mean to verify this, isn't it?
=== on 8 Aug 2013, 06:27:34 Dinesh Bolkensteyn wrote:
Thanks for the updates Ann!