Skip to content

Commit

Permalink
修复在en模式下,AbstractMethodOrInterfaceMethodMustUseJavadocRule的2处报错消息中,me…
Browse files Browse the repository at this point in the history
…thod名称与param名称颠倒的问题、以及method名称与exception名称颠倒的问题。Fixes alibaba#440
  • Loading branch information
riccoyu committed Jan 7, 2019
1 parent 129a442 commit c1ae151
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions p3c-pmd/src/main/resources/messages_en.xml
Original file line number Diff line number Diff line change
Expand Up @@ -385,13 +385,13 @@ Javadoc should include method instruction, description of parameters, return val
<![CDATA[please javadoc the purpose of method [%s] in detail]]>
</entry>
<entry key="java.comment.AbstractMethodOrInterfaceMethodMustUseJavadocRule.violation.msg.parameter">
<![CDATA[parameter [%s] of method [%s] should have javadoc]]>
<![CDATA[method [%s] should have javadoc for parameter [%s]]]>
</entry>
<entry key="java.comment.AbstractMethodOrInterfaceMethodMustUseJavadocRule.violation.msg.return">
<![CDATA[return value of method [%s] should have javadoc]]>
</entry>
<entry key="java.comment.AbstractMethodOrInterfaceMethodMustUseJavadocRule.violation.msg.exception">
<![CDATA[exception [%s] of method [%s] should have javadoc]]>
<![CDATA[method [%s] should have javadoc for exception [%s]]]>
</entry>

<entry key="java.comment.AvoidCommentBehindStatementRule.rule.msg">
Expand Down

0 comments on commit c1ae151

Please sign in to comment.