commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles (JIRA)" <>
Subject [jira] [Created] (MATH-1365) Workaround "Serializable"
Date Tue, 17 May 2016 15:49:12 GMT
Gilles created MATH-1365:

             Summary: Workaround "Serializable"
                 Key: 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

View raw message