diff --git a/pmd/etc/changelog.txt b/pmd/etc/changelog.txt index cad103e91a..d8885ffc5c 100644 --- a/pmd/etc/changelog.txt +++ b/pmd/etc/changelog.txt @@ -46,6 +46,8 @@ Renderers use less memory when generating reports. Performance Refactoring, XPath rules re-written as Java: AssignmentInOperand AvoidDollarSigns + DontImportJavaLang + DontImportSun MoreThanOneLogger SuspiciousHashcodeMethodName UselessStringValueOf diff --git a/pmd/rulesets/controversial.xml b/pmd/rulesets/controversial.xml index fb0b6dbbbc..053662805c 100644 --- a/pmd/rulesets/controversial.xml +++ b/pmd/rulesets/controversial.xml @@ -182,23 +182,11 @@ public class Foo { Avoid importing anything from the 'sun.*' packages. These packages are not portable and are likely to change. - - - - - - - - 4 + diff --git a/pmd/rulesets/imports.xml b/pmd/rulesets/imports.xml index b6952bf521..69907234bb 100644 --- a/pmd/rulesets/imports.xml +++ b/pmd/rulesets/imports.xml @@ -29,27 +29,11 @@ public class Foo {} Avoid importing anything from the package 'java.lang'. These classes are automatically imported (JLS 7.5.3). - - - - - - - 4