forked from phoedos/pmd
Fix compile error (pmd 5.3.x is on java6)
This commit is contained in:
@ -32,7 +32,7 @@ public class MultiThreadProcessorTest {
|
||||
PMDConfiguration configuration = new PMDConfiguration();
|
||||
configuration.setRuleSets("rulesets/MultiThreadProcessorTest/basic.xml");
|
||||
configuration.setThreads(2);
|
||||
List<DataSource> files = new ArrayList<>();
|
||||
List<DataSource> files = new ArrayList<DataSource>();
|
||||
files.add(new StringDataSource("file1-violation.dummy", "ABC"));
|
||||
files.add(new StringDataSource("file2-foo.dummy", "DEF"));
|
||||
|
||||
|
Reference in New Issue
Block a user