From 0b3bfc1d4a57ea5cabeb0c8175949bc5155f0adf Mon Sep 17 00:00:00 2001 From: Luc Maisonobe Date: Sat, 12 Jan 2008 22:07:09 +0000 Subject: [PATCH] NumberTransformer classes should be Serializable since they are used as fields of the Serializable TransformerMap class git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@611497 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/commons/math/util/NumberTransformer.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/java/org/apache/commons/math/util/NumberTransformer.java b/src/java/org/apache/commons/math/util/NumberTransformer.java index 24b5393ff..a284ed7f6 100644 --- a/src/java/org/apache/commons/math/util/NumberTransformer.java +++ b/src/java/org/apache/commons/math/util/NumberTransformer.java @@ -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