Gilles created MATH-1365:
----------------------------

             Summary: Workaround "Serializable"
                 Key: MATH-1365
                 URL: https://issues.apache.org/jira/browse/MATH-1365
             Project: Commons Math
          Issue Type: Task
            Reporter: Gilles
            Assignee: Gilles
             Fix For: 4.0


Class {{o.a.c.m.util.RandomPivotingStrategy}} is {{Serializable}}.

It is again questionable to have a class implement {{Serializable}} for no 
better reason than an instance of this type is contained in a class that is 
itself {{Serializable}}; indee it thus spreads like an epidemic in all the 
library.

In this case, the new {{UniformRandomProvider}} is not {{Serializable}} and 
this entails to have {{RandomPivotingStrategy}} contain custom serialization 
code...




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to