Small code enhancements, basically reordering variable declarations, constructors and variable modifiers

This commit is contained in:
Dionisio Cortes Fernandez
2016-05-15 22:41:26 +02:00
parent ba18ee705e
commit 511c7778c5
103 changed files with 1095 additions and 789 deletions

View File

@@ -6,16 +6,18 @@ package net.sourceforge.pmd.testframework;
import java.util.ArrayList;
import java.util.List;
import net.sourceforge.pmd.Rule;
import org.junit.runner.RunWith;
import net.sourceforge.pmd.Rule;
/**
* Standard methods for (simple) testcases.
*/
@RunWith(PMDTestRunner.class)
public abstract class SimpleAggregatorTst extends RuleTst {
private List<Rule> rules = new ArrayList<>();
/**
* Configure the rule tests to be executed. Implement this method in
* subclasses by calling adRule.
@@ -53,8 +55,6 @@ public abstract class SimpleAggregatorTst extends RuleTst {
}
}
private List<Rule> rules = new ArrayList<>();
/**
* Add new XML tests associated with the rule to the test suite. This should
* be called from the setup method.