From ccbb372a4fdc36269238712cdb45dd45f1d80780 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Thu, 10 Mar 2016 20:19:30 +0100 Subject: [PATCH] Fix compile error (pmd 5.3.x is on java6) --- .../net/sourceforge/pmd/processor/MultiThreadProcessorTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmd-core/src/test/java/net/sourceforge/pmd/processor/MultiThreadProcessorTest.java b/pmd-core/src/test/java/net/sourceforge/pmd/processor/MultiThreadProcessorTest.java index 3aa643821b..de52c43447 100644 --- a/pmd-core/src/test/java/net/sourceforge/pmd/processor/MultiThreadProcessorTest.java +++ b/pmd-core/src/test/java/net/sourceforge/pmd/processor/MultiThreadProcessorTest.java @@ -32,7 +32,7 @@ public class MultiThreadProcessorTest { PMDConfiguration configuration = new PMDConfiguration(); configuration.setRuleSets("rulesets/MultiThreadProcessorTest/basic.xml"); configuration.setThreads(2); - List files = new ArrayList<>(); + List files = new ArrayList(); files.add(new StringDataSource("file1-violation.dummy", "ABC")); files.add(new StringDataSource("file2-foo.dummy", "DEF"));