commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1503287 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/Frequency.java
Date Mon, 15 Jul 2013 15:07:44 GMT
Author: sebb
Date: Mon Jul 15 15:07:43 2013
New Revision: 1503287

URL: http://svn.apache.org/r1503287
Log:
Make boxing explicit

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/Frequency.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/Frequency.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/Frequency.java?rev=1503287&r1=1503286&r2=1503287&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/Frequency.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/Frequency.java Mon
Jul 15 15:07:43 2013
@@ -546,7 +546,7 @@ public class Frequency implements Serial
         final Iterator<Map.Entry<Comparable<?>, Long>> iter = other.entrySetIterator();
         while (iter.hasNext()) {
             final Map.Entry<Comparable<?>, Long> entry = iter.next();
-            incrementValue(entry.getKey(), entry.getValue());
+            incrementValue(entry.getKey(), entry.getValue().longValue());
         }
     }
 



Mime
View raw message