commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r611497 - /commons/proper/math/trunk/src/java/org/apache/commons/math/util/NumberTransformer.java
Date Sat, 12 Jan 2008 22:07:10 GMT
Author: luc
Date: Sat Jan 12 14:07:09 2008
New Revision: 611497

URL: http://svn.apache.org/viewvc?rev=611497&view=rev
Log:
NumberTransformer classes should be Serializable
since they are used as fields of the Serializable TransformerMap class

Modified:
    commons/proper/math/trunk/src/java/org/apache/commons/math/util/NumberTransformer.java

Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/util/NumberTransformer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/util/NumberTransformer.java?rev=611497&r1=611496&r2=611497&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/util/NumberTransformer.java
(original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/util/NumberTransformer.java
Sat Jan 12 14:07:09 2008
@@ -16,13 +16,15 @@
  */
 package org.apache.commons.math.util;
 
+import java.io.Serializable;
+
 import org.apache.commons.math.MathException;
 
 /**
  * Subclasses implementing this interface can transform Objects to doubles.
  * @version $Revision$ $Date$
  */
-public interface NumberTransformer {
+public interface NumberTransformer extends Serializable {
     
     /**
      * Implementing this interface provides a facility to transform



Mime
View raw message