From 4bfee0420d54e2ca4ad5a07f1b209948ac91f68b Mon Sep 17 00:00:00 2001 From: Luc Maisonobe Date: Sat, 2 Feb 2008 18:07:50 +0000 Subject: [PATCH] changed an internal class to static as suggested by findbugs JIRA: MATH-183 git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@617853 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/commons/math/stat/Frequency.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/commons/math/stat/Frequency.java b/src/java/org/apache/commons/math/stat/Frequency.java index ebf81f2a0..f55c04bbd 100644 --- a/src/java/org/apache/commons/math/stat/Frequency.java +++ b/src/java/org/apache/commons/math/stat/Frequency.java @@ -435,7 +435,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, Serializable { + private static class NaturalComparator implements Comparator, Serializable { /** Serializable version identifier */ private static final long serialVersionUID = -3852193713161395148L;