forked from phoedos/pmd
Applied patch 1615519 - controversial/DefaultPackage XPath rule is wrong
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4879 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -26,6 +26,7 @@ Applied patch 1573981 - false + in CloneMethodMustImplementCloneable
|
||||
Applied patch 1574988 - false + in OverrideBothEqualsAndHashcode
|
||||
Applied patch 1583167 - Better test code management. Internal JUnits can now be written in XML's
|
||||
Applied patch 1613674 - Support classpaths with spaces in pmd.bat
|
||||
Applied patch 1615519 - controversial/DefaultPackage XPath rule is wrong
|
||||
Implemented RFE 1566313 - Command Line now takes minimumpriority attribute to filter out rulesets
|
||||
PMD now requires JDK 1.4 to run
|
||||
- PMD will still analyze code from earlier JDKs
|
||||
|
@ -44,4 +44,16 @@ public interface Foo {
|
||||
}
|
||||
]]></code>
|
||||
</test-code>
|
||||
<test-code>
|
||||
<description><![CDATA[
|
||||
bad
|
||||
]]></description>
|
||||
<expected-problems>1</expected-problems>
|
||||
<code><![CDATA[
|
||||
public class Foo {
|
||||
void bar() {
|
||||
}
|
||||
}
|
||||
]]></code>
|
||||
</test-code>
|
||||
</test-data>
|
||||
|
@ -334,8 +334,10 @@ Use explicit scoping instead of the default package private level.
|
||||
.[@Interface='false']
|
||||
/ClassOrInterfaceBody
|
||||
/ClassOrInterfaceBodyDeclaration
|
||||
/FieldDeclaration[@PackagePrivate='true']
|
||||
| /MethodDeclaration[@PackagePrivate='true']
|
||||
[
|
||||
FieldDeclaration[@PackagePrivate='true']
|
||||
or MethodDeclaration[@PackagePrivate='true']
|
||||
]
|
||||
]]></value>
|
||||
</property>
|
||||
</properties>
|
||||
|
@ -63,7 +63,7 @@
|
||||
<li>piair - Implemented StringBufferInstantiationWithChar, AvoidUsingOctalValues</li>
|
||||
<li>Christopher Eagan - Reported bug in VariableNamingConventions</li>
|
||||
<li><a href="http://www.livejournal.com/users/insac/">Fabio Insaccanebbia</a> - Improvement for UseArraysAsList, UnusedNullCheckInEquals, MisplacedNullCheck, UselessOperationOnImmutable, AvoidArrayLoops, UseArraysAsList, AvoidConstantsInterface, AvoidDecimalLiteralsInBigDecimalConstructor, ClassCastExceptionWithToArray, BigIntegerInstantiation</li>
|
||||
<li>Ryan Gustafson - Patch to fix bug in AvoidDecimalLiteralsInBigDecimalConstructor, patch to add "ref" overrides to RuleSetFactory, patch to fix JDK 1.3 incompatibilities in PMD 2.0, patch to support classpaths with spaces in pmd.bat</li>
|
||||
<li>Ryan Gustafson - Patch to fix bug in AvoidDecimalLiteralsInBigDecimalConstructor, patch to add "ref" overrides to RuleSetFactory, patch to fix JDK 1.3 incompatibilities in PMD 2.0, patch to support classpaths with spaces in pmd.bat, patch to fix controversial/DefaultPackage XPath rule</li>
|
||||
<li>Stefan Seidel - Reported JDK 1.5 parsing bug</li>
|
||||
<li>Aaron Optimizer Digulla - Tweaks to pmd.bat</li>
|
||||
<li>Peter Van de Voorde - Rewrote the 'create rule XML' functionality in the designer utility</li>
|
||||
|
Reference in New Issue
Block a user