From ce96ee600f9956d3e2d0e6ec653dc877a5fe820e Mon Sep 17 00:00:00 2001 From: Luc Maisonobe Date: Tue, 16 Jul 2013 13:38:02 +0000 Subject: [PATCH] Removed trailing whitespace. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1503713 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/java/org/apache/commons/math3/stat/Frequency.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/commons/math3/stat/Frequency.java b/src/main/java/org/apache/commons/math3/stat/Frequency.java index d9d7506c5..0f663d79b 100644 --- a/src/main/java/org/apache/commons/math3/stat/Frequency.java +++ b/src/main/java/org/apache/commons/math3/stat/Frequency.java @@ -506,13 +506,13 @@ public class Frequency implements Serializable { /** * Returns the mode value(s) in comparator order. - * + * * @return a list containing the value(s) which appear most often. * @since 3.3 */ public List> 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();