Skip to content

Commit 7de6b48

Browse files
authored
Merge pull request alibaba#462 from hanyidreamer/19.03.02
Fixed alibaba#448
2 parents b5623e6 + c95f3f2 commit 7de6b48

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

p3c-pmd/src/main/resources/messages_en.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
</entry>
5151

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

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

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

0 commit comments

Comments
 (0)