You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by tn...@apache.org on 2013/09/03 21:58:03 UTC

svn commit: r1519820 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/Frequency.java

Author: tn
Date: Tue Sep  3 19:58:03 2013
New Revision: 1519820

URL: http://svn.apache.org/r1519820
Log:
[MATH-1001] Added additional clarification to javadoc wrt byte and short parameters.

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=1519820&r1=1519819&r2=1519820&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 Tue Sep  3 19:58:03 2013
@@ -42,6 +42,9 @@ import org.apache.commons.math3.util.Mat
  * Integer values (int, long, Integer, Long) are not distinguished by type --
  * i.e. <code>addValue(Long.valueOf(2)), addValue(2), addValue(2l)</code> all have
  * the same effect (similarly for arguments to <code>getCount,</code> etc.).</p>
+ * <p>NOTE: byte and short values will be implicitly converted to int values
+ * by the compiler, thus there are no explicit overloaded methods for these
+ * primitive types.</p>
  * <p>
  * char values are converted by <code>addValue</code> to Character instances.
  * As such, these values are not comparable to integral values, so attempts