Merge pull request #462 from hanyidreamer/19.03.02

Fixed #448
This commit is contained in:
玄坛
2019-03-05 14:10:23 +08:00
committed by GitHub

View File

@@ -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 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.]]>
@@ -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.]]>