Fix compilation errors
This commit is contained in:
@ -4,8 +4,6 @@
|
||||
|
||||
package net.sourceforge.pmd.lang.java.rule;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import net.sourceforge.pmd.RuleContext;
|
||||
import net.sourceforge.pmd.lang.ast.Node;
|
||||
import net.sourceforge.pmd.lang.java.ast.ASTVariableDeclaratorId;
|
||||
@ -16,13 +14,6 @@ import net.sourceforge.pmd.lang.java.ast.JavaNode;
|
||||
*/
|
||||
public class DummyJavaRule extends AbstractJavaRule {
|
||||
|
||||
@Override
|
||||
public void apply(List<? extends Node> nodes, RuleContext ctx) {
|
||||
for (Node node : nodes) {
|
||||
apply(node, ctx);
|
||||
}
|
||||
}
|
||||
|
||||
public void apply(Node node, RuleContext ctx) {
|
||||
|
||||
}
|
||||
|
@ -4,8 +4,6 @@
|
||||
|
||||
package net.sourceforge.pmd.lang.ecmascript;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import net.sourceforge.pmd.RuleContext;
|
||||
import net.sourceforge.pmd.lang.ast.Node;
|
||||
import net.sourceforge.pmd.lang.ecmascript.rule.AbstractEcmascriptRule;
|
||||
@ -15,13 +13,6 @@ import net.sourceforge.pmd.lang.ecmascript.rule.AbstractEcmascriptRule;
|
||||
*/
|
||||
public class DummyJsRule extends AbstractEcmascriptRule {
|
||||
|
||||
@Override
|
||||
public void apply(List<? extends Node> nodes, RuleContext ctx) {
|
||||
for (Node node : nodes) {
|
||||
apply(node, ctx);
|
||||
}
|
||||
}
|
||||
|
||||
public void apply(Node node, RuleContext ctx) {
|
||||
|
||||
}
|
||||
|
@ -19,7 +19,7 @@ public class ParenthesisGroupTest extends BaseTreeDumpTest {
|
||||
|
||||
@Override
|
||||
public BaseParsingHelper<?, ?> getParser() {
|
||||
return PlsqlParsingHelper.WITH_PROCESSING.withResourceContext(getClass());
|
||||
return PlsqlParsingHelper.DEFAULT.withResourceContext(getClass());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user