the internal class NaturalComparator now implements Serializable
to remove a findbugs warning git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@611487 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7092368cf1
commit
9ce7a64492
|
@ -435,7 +435,9 @@ public class Frequency implements Serializable {
|
||||||
* A Comparator that compares comparable objects using the
|
* A Comparator that compares comparable objects using the
|
||||||
* natural order. Copied from Commons Collections ComparableComparator.
|
* natural order. Copied from Commons Collections ComparableComparator.
|
||||||
*/
|
*/
|
||||||
private static class NaturalComparator implements Comparator {
|
private static class NaturalComparator implements Comparator, Serializable {
|
||||||
|
private static final long serialVersionUID = -3852193713161395148L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Compare the two {@link Comparable Comparable} arguments.
|
* Compare the two {@link Comparable Comparable} arguments.
|
||||||
* This method is equivalent to:
|
* This method is equivalent to:
|
||||||
|
|
Loading…
Reference in New Issue