Oops, 1.5 constructs integrated in previous commit...

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4890 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Xavier Le Vourch
2006-12-17 01:54:49 +00:00
parent 70ef1ccc2f
commit aa787a7e26

View File

@ -380,7 +380,7 @@ public class PMD {
return t;
}
public List<PmdThread> threadList = Collections.synchronizedList(new LinkedList<PmdThread>());
public List threadList = Collections.synchronizedList(new LinkedList());
}
@ -450,7 +450,9 @@ public class PMD {
}
Report mainReport = ctx.getReport();
for(PmdThread thread: factory.threadList) {
Iterator i = factory.threadList.iterator();
while (i.hasNext()) {
PmdThread thread = (PmdThread) i.next();
Report r = thread.context.getReport();
mainReport.merge(r);
}