Skip to content

Commit

Permalink
Merge pull request alibaba#462 from hanyidreamer/19.03.02
Browse files Browse the repository at this point in the history
  • Loading branch information
xuantan authored Mar 5, 2019
2 parents b5623e6 + c95f3f2 commit 7de6b48
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions p3c-pmd/src/main/resources/messages_en.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
</entry>

<entry key="java.exception.MethodReturnWrapperTypeRule.violation.msg">
<![CDATA[the return type is primitive【%s】,return a value of wrapper class【%s】,may cause NullPointerException]]>
<![CDATA[the return type is primitive[%s], return a value of wrapper class[%s], may cause NullPointerException]]>
</entry>

<entry key="java.exception.MethodReturnWrapperTypeRule.rule.msg">
Expand Down Expand Up @@ -130,7 +130,7 @@ Note: In JDK8, Instant can be used to replace Date, Calendar is replaced by Loca
</entry>

<entry key="java.concurrent.AvoidManuallyCreateThreadRule.violation.msg">
<![CDATA[Explicitly creating threads is not alloweduse thread pool instead.]]>
<![CDATA[Explicitly creating threads is not allowed, use thread pool instead.]]>
</entry>
<entry key="java.concurrent.AvoidManuallyCreateThreadRule.rule.msg">
<![CDATA[Threads should be provided by thread pools. Explicitly creating threads is not allowed.]]>
Expand Down Expand Up @@ -227,7 +227,7 @@ Note: Below are the problems created by usage of Executors for thread pool creat
<![CDATA[Do not cast subList in class ArrayList, otherwise ClassCastException will be thrown. ]]>
</entry>
<entry key="java.set.ClassCastExceptionWithSubListToArrayListRule.rule.msg.desc">
<![CDATA[Note:Do not cast, if you have to doplease use new Conllection(sublist result). ]]>
<![CDATA[Note:Do not cast, if you have to do, please use new Conllection(sublist result). ]]>
</entry>
<entry key="java.set.ClassCastExceptionWithToArrayRule.violation.msg">
<![CDATA[[%s] should use arguments with array size.]]>
Expand Down

0 comments on commit 7de6b48

Please sign in to comment.