You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2009/04/14 14:37:37 UTC
svn commit: r764759 -
/commons/proper/math/trunk/src/test/org/apache/commons/math/stat/FrequencyTest.java
Author: sebb
Date: Tue Apr 14 12:37:37 2009
New Revision: 764759
URL: http://svn.apache.org/viewvc?rev=764759&view=rev
Log:
Parameterise raw type
Modified:
commons/proper/math/trunk/src/test/org/apache/commons/math/stat/FrequencyTest.java
Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/stat/FrequencyTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/stat/FrequencyTest.java?rev=764759&r1=764758&r2=764759&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/org/apache/commons/math/stat/FrequencyTest.java (original)
+++ commons/proper/math/trunk/src/test/org/apache/commons/math/stat/FrequencyTest.java Tue Apr 14 12:37:37 2009
@@ -245,7 +245,7 @@
assertEquals("Integer 1 cumPct", 0.5, f.getCumPct(1), tolerance);
assertEquals("Integer 1 cumPct", 0.5, f.getCumPct(Long.valueOf(1)), tolerance);
assertEquals("Integer 1 cumPct", 0.5, f.getCumPct(Integer.valueOf(1)), tolerance);
- Iterator it = f.valuesIterator();
+ Iterator<?> it = f.valuesIterator();
while (it.hasNext()) {
assertTrue(it.next() instanceof Long);
}