You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by tn...@apache.org on 2013/04/27 14:08:20 UTC

svn commit: r1476558 - /commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/DefaultEquator.java

Author: tn
Date: Sat Apr 27 12:08:19 2013
New Revision: 1476558

URL: http://svn.apache.org/r1476558
Log:
Make DefaultEquator serializable.

Modified:
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/DefaultEquator.java

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/DefaultEquator.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/DefaultEquator.java?rev=1476558&r1=1476557&r2=1476558&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/DefaultEquator.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/DefaultEquator.java Sat Apr 27 12:08:19 2013
@@ -16,6 +16,8 @@
  */
 package org.apache.commons.collections4.functors;
 
+import java.io.Serializable;
+
 /**
  * Default {@link Equator} implementation.
  * 
@@ -23,7 +25,11 @@ package org.apache.commons.collections4.
  * @since 4.0
  * @version $Id$
  */
-public class DefaultEquator<T> implements Equator<T> {
+public class DefaultEquator<T> implements Equator<T>, Serializable {
+
+    /** Serial version UID */
+    private static final long serialVersionUID = 825802648423525485L;
+
     /** Static instance */
     public static final DefaultEquator<Object> INSTANCE = new DefaultEquator<Object>();