Hello Sébastien.

> > 
> > >
> > > * org.apache.commons.math3.linear.SymmLQ: Yet another problem with a
> > >  probably unnecessary "Serializable"...
> > >
> > In fact, it comes from a nested class which extends EventObject, so it
> > must be (unfortunately) serializable. I'll look into it.
> 
> Then, it seems that you can define it as "static", and it will make FindBugs
> happy, I think. [The problem is that it is a "plain" inner class, in a
> non-serializable class.]
> 

I've performed this change and also had to make the "state" field
"transient" because "State" is not "Serializable" and it cannot be
since "RealLinearOperator" is not "Serializable" and cannot be (IIUC).[1]
[At first sight, all this confirms that we should stay away from
"Serializable". :-}]


Best,
Gilles

[1] This quiets "FindBugs", and since that class is a private inner class,
    you'll have the possiblity to handle this in another way for 3.1.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to