mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@550476 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
702b13be27
commit
cb32fd2aa4
|
@ -184,7 +184,7 @@ public class BenchmarkSupport {
|
|||
times++;
|
||||
}
|
||||
if (times > 0) {
|
||||
average = total / times;
|
||||
average = total / (double) times;
|
||||
}
|
||||
|
||||
long oldtime = time;
|
||||
|
|
|
@ -178,6 +178,7 @@ public class Producer extends BenchmarkSupport {
|
|||
buffer.append(line);
|
||||
buffer.append(File.separator);
|
||||
}
|
||||
in.close();
|
||||
return buffer.toString();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue