commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1476558 - /commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/DefaultEquator.java
Date Sat, 27 Apr 2013 12:08:20 GMT
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>();
 



Mime
View raw message