You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by lu...@apache.org on 2013/07/16 15:38:02 UTC
svn commit: r1503713 -
/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/Frequency.java
Author: luc
Date: Tue Jul 16 13:38:02 2013
New Revision: 1503713
URL: http://svn.apache.org/r1503713
Log:
Removed trailing whitespace.
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=1503713&r1=1503712&r2=1503713&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 Jul 16 13:38:02 2013
@@ -506,13 +506,13 @@ public class Frequency implements Serial
/**
* Returns the mode value(s) in comparator order.
- *
+ *
* @return a list containing the value(s) which appear most often.
* @since 3.3
*/
public List<Comparable<?>> getMode() {
long mostPopular = 0; // frequencies are always positive
-
+
// Get the max count first, so we avoid having to recreate the List each time
for(Long l : freqTable.values()) {
long frequency = l.longValue();