Author: bayard
Date: Wed Nov 18 07:11:41 2009
New Revision: 881689

URL: http://svn.apache.org/viewvc?rev=881689&view=rev
Log:
Implementing Serializable - part of LANG-551

Modified:
    commons/proper/lang/trunk/src/java/org/apache/commons/lang/Range.java

Modified: commons/proper/lang/trunk/src/java/org/apache/commons/lang/Range.java
URL: 
http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/java/org/apache/commons/lang/Range.java?rev=881689&r1=881688&r2=881689&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/java/org/apache/commons/lang/Range.java 
(original)
+++ commons/proper/lang/trunk/src/java/org/apache/commons/lang/Range.java Wed 
Nov 18 07:11:41 2009
@@ -16,6 +16,7 @@
  */
 package org.apache.commons.lang;
 
+import java.io.Serializable;
 import java.util.Comparator;
 
 /**
@@ -25,9 +26,10 @@
  * @since 3.0
  * @version $Id: Range.java 830032 2009-10-27 00:15:00Z scolebourne $
  */
-// TODO: Serializable?
 // TODO: Make class final and use fields instead of getters?
-public class Range<T> {
+public class Range<T> implements Serializable {
+
+    private static final long serialVersionUID = 1L;
 
     private final Comparator comparator;
     private final T minimum;


Reply via email to