From b77e14987d9683a3b7c7a4d0d92dcb7d196f2e59 Mon Sep 17 00:00:00 2001 From: Phil Steitz Date: Fri, 2 Jul 2004 05:27:41 +0000 Subject: [PATCH] Made NaturalComparator member class static. git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141354 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/commons/math/stat/Frequency.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/java/org/apache/commons/math/stat/Frequency.java b/src/java/org/apache/commons/math/stat/Frequency.java index e50e63651..49a699866 100644 --- a/src/java/org/apache/commons/math/stat/Frequency.java +++ b/src/java/org/apache/commons/math/stat/Frequency.java @@ -35,7 +35,7 @@ import java.util.TreeMap; * The values are ordered using the default (natural order), unless a * Comparatoris supplied in the constructor. * - * @version $Revision: 1.24 $ $Date: 2004/06/23 16:26:17 $ + * @version $Revision: 1.25 $ $Date: 2004/07/02 05:27:41 $ */ public class Frequency implements Serializable { @@ -398,7 +398,7 @@ public class Frequency implements Serializable { * A Comparator that compares comparable objects using the * natural order. Copied from Commons Collections ComparableComparator. */ - private class NaturalComparator implements Comparator { + private static class NaturalComparator implements Comparator { /** * Compare the two {@link Comparable Comparable} arguments. * This method is equivalent to: