You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ps...@apache.org on 2004/07/02 07:27:41 UTC
cvs commit: jakarta-commons/math/src/java/org/apache/commons/math/stat Frequency.java
psteitz 2004/07/01 22:27:41
Modified: math/src/java/org/apache/commons/math/stat Frequency.java
Log:
Made NaturalComparator member class static.
Revision Changes Path
1.25 +2 -2 jakarta-commons/math/src/java/org/apache/commons/math/stat/Frequency.java
Index: Frequency.java
===================================================================
RCS file: /home/cvs/jakarta-commons/math/src/java/org/apache/commons/math/stat/Frequency.java,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- Frequency.java 23 Jun 2004 16:26:17 -0000 1.24
+++ Frequency.java 2 Jul 2004 05:27:41 -0000 1.25
@@ -398,7 +398,7 @@
* 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:
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org