Create a new CloneWithoutCloneable rule. This would complement the existing CloneableWithoutClone rule.
See PMD: CloneMethodMustImplementCloneable: The method clone() should only be implemented if the class implements the Cloneable interface.
fix in pull request: https://github.com/CodeNarc/CodeNarc/pull/14
This was provided in CodeNarc 0.19 as an "enhanced" rule
Log in to post a comment.
fix in pull request:
https://github.com/CodeNarc/CodeNarc/pull/14
This was provided in CodeNarc 0.19 as an "enhanced" rule