Skip to content
Permalink
Browse files
Start updating the PMD rules to work with the latest PMD plugins
git-svn-id: https://svn.apache.org/repos/asf/cxf/build-utils/trunk@1501039 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
dkulp committed Jul 9, 2013
1 parent 2e30c81 commit f6046f7f5857b610bcf85e9b6e8bc217c043fbbe
Showing 4 changed files with 362 additions and 355 deletions.
@@ -73,9 +73,9 @@
<scope>provided</scope>
</dependency>
<dependency>
<groupId>pmd</groupId>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd</artifactId>
<version>4.3</version>
<version>5.0.2</version>
<scope>provided</scope>
</dependency>
</dependencies>
@@ -21,20 +21,19 @@

import java.util.List;

import net.sourceforge.pmd.AbstractJavaRule;
import net.sourceforge.pmd.lang.java.rule.AbstractJavaRule;
import net.sourceforge.pmd.RuleContext;
import net.sourceforge.pmd.ast.ASTAdditiveExpression;
import net.sourceforge.pmd.ast.ASTAllocationExpression;
import net.sourceforge.pmd.ast.ASTArgumentList;
import net.sourceforge.pmd.ast.ASTArrayDimsAndInits;
import net.sourceforge.pmd.ast.ASTClassOrInterfaceType;
import net.sourceforge.pmd.ast.ASTExpression;
import net.sourceforge.pmd.ast.ASTName;
import net.sourceforge.pmd.ast.Node;
import net.sourceforge.pmd.ast.SimpleNode;
import net.sourceforge.pmd.symboltable.NameDeclaration;
import net.sourceforge.pmd.symboltable.VariableNameDeclaration;
import net.sourceforge.pmd.typeresolution.TypeHelper;
import net.sourceforge.pmd.lang.java.ast.ASTAdditiveExpression;
import net.sourceforge.pmd.lang.java.ast.ASTAllocationExpression;
import net.sourceforge.pmd.lang.java.ast.ASTArgumentList;
import net.sourceforge.pmd.lang.java.ast.ASTArrayDimsAndInits;
import net.sourceforge.pmd.lang.java.ast.ASTClassOrInterfaceType;
import net.sourceforge.pmd.lang.java.ast.ASTExpression;
import net.sourceforge.pmd.lang.java.ast.ASTName;
import net.sourceforge.pmd.lang.java.ast.JavaNode;
import net.sourceforge.pmd.lang.java.symboltable.NameDeclaration;
import net.sourceforge.pmd.lang.java.symboltable.VariableNameDeclaration;
import net.sourceforge.pmd.lang.java.typeresolution.TypeHelper;

/**
* Look for new String(byte[]) or new String(byte[], start, end)

0 comments on commit f6046f7

Please sign in to comment.