walkmod pmd ruleset start
<?xml version="1.0"?>
-<ruleset name="ruleset"
- xmlns="http://pmd.sf.net/ruleset/1.0.0"
+<ruleset name="Unnecessary"
+ xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
- xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
+ xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 http://pmd.sourceforge.net/ruleset_2_0_0.xsd">
<description>
This ruleset checks my code for bad stuff
</description>
-
- <rule ref="rulesets/java/unusedcode.xml/UnusedPrivateField"/>
- <rule ref="rulesets/java/imports.xml/UnusedImports"/>
- <rule ref="rulesets/java/optimizations.xml/MethodArgumentCouldBeFinal"/>
+ <rule ref="rulesets/java/basic.xml"/>
+ <rule ref="rulesets/java/strings.xml"/>
+ <rule ref="rulesets/java/unusedcode.xml"/>
</ruleset>
\ No newline at end of file
