warnings - PMD Class definition inside method -
i use local class inside method , pmd triggers 2 warnings headercommentrequirement class , publicmethodcommentrequirement method inside class, write comments on both if normal class doesn't work. ideas on this? help. code looks this:
/** * * @author me * */ class myclass{ void thismethod(){ if(condition){ /** * * @author me * local class */ class localclass implements otherclass{ /** * method comment */ public boolean boolmethod(){ //do } } } } }
correct javadoc should have second , following lines indented addtional space, , description should before tags:
/** * description. * @author me */
Comments
Post a Comment