Fix compile error (pmd 5.3.x is on java6)

This commit is contained in:
Andreas Dangel
2016-03-10 20:19:30 +01:00
parent be51afc2b4
commit ccbb372a4f

View File

@ -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"));