forked from phoedos/pmd
Upgrading to PMD 2.2
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3197 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
BIN
pmd-eclipse-pmd/lib/pmd-2.2.jar
Normal file
BIN
pmd-eclipse-pmd/lib/pmd-2.2.jar
Normal file
Binary file not shown.
@@ -9,6 +9,9 @@ import org.eclipse.core.runtime.QualifiedName;
|
||||
* @version $Revision$
|
||||
*
|
||||
* $Log$
|
||||
* Revision 1.3 2005/01/31 23:39:37 phherlin
|
||||
* Upgrading to PMD 2.2
|
||||
*
|
||||
* Revision 1.2 2005/01/16 22:52:17 phherlin
|
||||
* Upgrade to PMD 2.1: add new packaged rulesets
|
||||
*
|
||||
@@ -33,8 +36,10 @@ public interface PMDPluginConstants {
|
||||
"rulesets/junit.xml",
|
||||
"rulesets/logging-java.xml",
|
||||
"rulesets/naming.xml",
|
||||
"rulesets/optimizations.xml",
|
||||
"rulesets/strictexception.xml",
|
||||
"rulesets/strings.xml",
|
||||
"rulesets/sunsecure.xml",
|
||||
"rulesets/unusedcode.xml"};
|
||||
|
||||
public static final String[] RULESET_DEFAULTLIST = RULESET_ALLPMD;
|
||||
|
@@ -34,6 +34,9 @@ import org.w3c.dom.Text;
|
||||
* @version $Revision$
|
||||
*
|
||||
* $Log$
|
||||
* Revision 1.5 2005/01/31 23:39:37 phherlin
|
||||
* Upgrading to PMD 2.2
|
||||
*
|
||||
* Revision 1.4 2005/01/16 22:53:03 phherlin
|
||||
* Upgrade to PMD 2.1: take into account new rules attributes symboltable and dfa
|
||||
*
|
||||
@@ -103,7 +106,7 @@ public class RuleSetWriterImpl implements RuleSetWriter {
|
||||
private Element getRuleSetElement(Document doc, RuleSet ruleSet) {
|
||||
Element ruleSetElement = doc.createElement("ruleset");
|
||||
ruleSetElement.setAttribute("name", ruleSet.getName());
|
||||
ruleSetElement.setAttribute("include", ruleSet.include() ? "true" : "false");
|
||||
// ruleSetElement.setAttribute("include", ruleSet.include() ? "true" : "false");
|
||||
|
||||
Element descriptionElement = getDescriptionElement(doc, ruleSet.getDescription());
|
||||
ruleSetElement.appendChild(descriptionElement);
|
||||
|
Reference in New Issue
Block a user