mirror of
https://github.com/alibaba/p3c.git
synced 2025-10-14 07:01:56 +00:00
Merge pull request #795 from lianggzone/feature/class_must_have_author_rule
修复 ClassMustHaveAuthorRule Javadoc Warnings
This commit is contained in:
@@ -48,9 +48,9 @@ public class ClassMustHaveAuthorRule extends AbstractAliCommentRule {
|
||||
* Immediately return after visiting class/interface/enum/annotation,
|
||||
* so that we don't need to deal with inner class/interface/enum/annotation declarations.
|
||||
*
|
||||
* @param decl
|
||||
* @param data
|
||||
* @return
|
||||
* @param decl node
|
||||
* @param data ruleContext
|
||||
* @return result
|
||||
*/
|
||||
@Override
|
||||
public Object visit(ASTClassOrInterfaceDeclaration decl, Object data) {
|
||||
|
@@ -72,7 +72,7 @@
|
||||
<![CDATA[iBatis built in queryForList(String statementName, int start, int size) is not recommended]]>
|
||||
</entry>
|
||||
<entry key="java.naming.ClassNamingShouldBeCamelRule.rule.msg">
|
||||
<![CDATA[Class names should be nouns in UpperCamelCase except domain models: DO, BO, DTO, VO, etc]]>
|
||||
<![CDATA[Class names should be nouns in UpperCamelCase except domain models: DO, BO, DTO, VO, DAO, etc]]>
|
||||
</entry>
|
||||
<entry key="java.naming.AbstractClassShouldStartWithAbstractNamingRule.rule.msg">
|
||||
<![CDATA[Abstract class names must start with Abstract or Base]]>
|
||||
|
Reference in New Issue
Block a user