You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gilles (JIRA)" <ji...@apache.org> on 2016/05/17 15:49:12 UTC
[jira] [Created] (MATH-1365) Workaround "Serializable"
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)