You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by se...@apache.org on 2010/01/21 02:32:35 UTC
svn commit: r901491 -
/jakarta/jmeter/trunk/src/jorphan/org/apache/jorphan/math/StatCalculator.java
Author: sebb
Date: Thu Jan 21 01:32:35 2010
New Revision: 901491
URL: http://svn.apache.org/viewvc?rev=901491&view=rev
Log:
Use interface
Modified:
jakarta/jmeter/trunk/src/jorphan/org/apache/jorphan/math/StatCalculator.java
Modified: jakarta/jmeter/trunk/src/jorphan/org/apache/jorphan/math/StatCalculator.java
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/jorphan/org/apache/jorphan/math/StatCalculator.java?rev=901491&r1=901490&r2=901491&view=diff
==============================================================================
--- jakarta/jmeter/trunk/src/jorphan/org/apache/jorphan/math/StatCalculator.java (original)
+++ jakarta/jmeter/trunk/src/jorphan/org/apache/jorphan/math/StatCalculator.java Thu Jan 21 01:32:35 2010
@@ -20,6 +20,7 @@
import java.util.ConcurrentModificationException;
import java.util.HashMap;
+import java.util.Map;
import java.util.TreeMap;
import java.util.Map.Entry;
@@ -157,7 +158,7 @@
* @return map containing either Integer or Long keys; entries are a Number array containing the key and the [Integer] count.
* TODO - why is the key value also stored in the entry array?
*/
- public synchronized HashMap<Number, Number[]> getDistribution() {
+ public synchronized Map<Number, Number[]> getDistribution() {
HashMap<Number, Number[]> items = new HashMap <Number, Number[]> ();
Number[] dis;
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org