mirror of
https://github.com/alibaba/p3c.git
synced 2025-10-14 15:10:54 +00:00
@@ -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">
|
||||
@@ -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 allowed,use 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.]]>
|
||||
@@ -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 do,please 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.]]>
|
||||
|
Reference in New Issue
Block a user