second shot at adding all this stuff

This commit is contained in:
Larry Diamond committed 2013-10-17 15:38:13 -04:00
1 parent 7c84050b56
commit a9bfdc1f15
1 file changed
+1 -1
@@ -1179,7 +1179,7 @@ class Foo {
since="5.1"
message="Position literals first in String comparisons for EqualsIgnoreCase"
class="net.sourceforge.pmd.lang.rule.XPathRule"
externalInfoUrl="${pmd.website.baseurl}/rules/java/design.html#PositionLiteralsFirstInComparisons">
externalInfoUrl="${pmd.website.baseurl}/rules/java/design.html#PositionLiteralsFirstInCaseInsensitiveComparisons">
<description>
Position literals first in comparisons, if the second argument is null then NullPointerExceptions
can be avoided, they will just return false.