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


Reply via email to