code cleanup

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4933 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Xavier Le Vourch
2007-01-11 01:07:17 +00:00
parent dbac10139b
commit b9f84865d3

View File

@ -27,7 +27,6 @@ import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
@ -280,9 +279,9 @@ public class Benchmark {
BenchmarkResult benchmarkResult = (BenchmarkResult)i.next();
StringBuffer buf2 = new StringBuffer();
buf2.append(benchmarkResult.getName());
buf2.append(":");
buf2.append(':');
while (buf2.length() <= 50) {
buf2.append(" ");
buf2.append(' ');
}
buf2.append(StringUtil.lpad(MessageFormat.format("{0,number,0.00000}", new Object[]{new Double(benchmarkResult.getTime()/1000000000.0)}), 8));
if (benchmarkResult.getType() <= TYPE_RULE_CHAIN_RULE) {