commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r617853 - /commons/proper/math/trunk/src/java/org/apache/commons/math/stat/Frequency.java
Date Sat, 02 Feb 2008 18:07:55 GMT
Author: luc
Date: Sat Feb  2 10:07:50 2008
New Revision: 617853

URL: http://svn.apache.org/viewvc?rev=617853&view=rev
Log:
changed an internal class to static as suggested by findbugs
JIRA: MATH-183

Modified:
    commons/proper/math/trunk/src/java/org/apache/commons/math/stat/Frequency.java

Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/stat/Frequency.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/stat/Frequency.java?rev=617853&r1=617852&r2=617853&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/stat/Frequency.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/stat/Frequency.java Sat Feb
 2 10:07:50 2008
@@ -435,7 +435,7 @@
      * A Comparator that compares comparable objects using the
      * natural order.  Copied from Commons Collections ComparableComparator.
      */
-    private class NaturalComparator implements Comparator, Serializable {
+    private static class NaturalComparator implements Comparator, Serializable {
 
         /** Serializable version identifier */
         private static final long serialVersionUID = -3852193713161395148L;



Mime
View raw message