PMD rules from Effective Java

Wednesday, 31. January 2007

When I installed PMD plugin to my Eclipse and tested the plugin, I found that following rules appear in “Effective Java” by Joshua.

* OverrideBothEqualsAndHashcode
* FinalizeDoesNotCallSuperFinalize
* ConstructorCallsOverridableMethod
* ProperCloneImplementation
* CloneThrowsCloneNotSupportedException
* CloneMethodMustImplementCloneable
* ReplaceVectorWithList
* ReplaceHashtableWithMap
* UseArrayListInsteadOfVector
* ReturnFromFinallyBlock
* EmptyCatchBlock
* ExceptionAsFlowControl

Leave a Reply