Re: [Math] SerialVersionUID (Was: svn commit: r1566088 - ...)

2014-02-09 Thread Thomas Neidhart
On 02/09/2014 09:22 PM, Gilles wrote: > Hi. > > On Sat, 08 Feb 2014 18:36:30 -, t...@apache.org wrote: >> Author: tn >> Date: Sat Feb 8 18:36:30 2014 >> New Revision: 1566088 >> >> URL: http://svn.apache.org/r1566088 >> Log: >> Add missing serialVersionUIDs. > > Those were not missing. > The

[Math] SerialVersionUID (Was: svn commit: r1566088 - ...)

2014-02-09 Thread Gilles
Hi. On Sat, 08 Feb 2014 18:36:30 -, t...@apache.org wrote: Author: tn Date: Sat Feb 8 18:36:30 2014 New Revision: 1566088 URL: http://svn.apache.org/r1566088 Log: Add missing serialVersionUIDs. Those were not missing. The class is not directly sent to the serialization stream; the "Seria

Re: [math] serialVersionUID

2011-08-07 Thread Dave Brosius
On 08/07/2011 12:17 PM, Luc Maisonobe wrote: I use eclipse for this. I like Jörg suggestion too but have one question: is there a problem if two different classes have the same id ? They will differ by fully qualified class name, of course, but is it sufficient ? nothing wrong with two clas

Re: [math] serialVersionUID

2011-08-07 Thread Luc Maisonobe
Le 06/08/2011 19:00, Phil Steitz a écrit : On 8/6/11 5:21 AM, Jörg Schaible wrote: Sébastien Brisard wrote: Hi, I've just realized that many classes I've submitted do not define serialVersionUID, which raises a warning. I have to say that it's something I've never done myself, but I'd like to

Re: [math] serialVersionUID

2011-08-06 Thread Phil Steitz
On 8/6/11 9:38 AM, Stefan Bodewig wrote: > On 2011-08-06, Gilles Sadowski wrote: > >>> I've just realized that many classes I've submitted do not define >>> serialVersionUID, which raises a warning. >> Who reaises a warning? > javac (when run with -Xlint:serial or -Xlint or something similar). And

Re: [math] serialVersionUID

2011-08-06 Thread Phil Steitz
On 8/6/11 5:21 AM, Jörg Schaible wrote: > Sébastien Brisard wrote: > >> Hi, >> I've just realized that many classes I've submitted do not define >> serialVersionUID, which raises a warning. I have to say that it's >> something I've never done myself, but I'd like to avoid the committers >> the burd

Re: [math] serialVersionUID

2011-08-06 Thread Stefan Bodewig
On 2011-08-06, Gilles Sadowski wrote: >> I've just realized that many classes I've submitted do not define >> serialVersionUID, which raises a warning. > Who reaises a warning? javac (when run with -Xlint:serial or -Xlint or something similar). Stefan --

Re: [math] serialVersionUID

2011-08-06 Thread Stefan Bodewig
On 2011-08-06, Sébastien Brisard wrote: > I've just realized that many classes I've submitted do not define > serialVersionUID, which raises a warning. I have to say that it's > something I've never done myself, but I'd like to avoid the committers > the burden of inserting this. What's the rule f

Re: [math] serialVersionUID

2011-08-06 Thread Gilles Sadowski
> I've just realized that many classes I've submitted do not define > serialVersionUID, which raises a warning. Who reaises a warning? > I have to say that it's > something I've never done myself, but I'd like to avoid the committers > the burden of inserting this. IMHO, a class should be "Seria

Re: [math] serialVersionUID

2011-08-06 Thread Jörg Schaible
Sébastien Brisard wrote: > Hi, > I've just realized that many classes I've submitted do not define > serialVersionUID, which raises a warning. I have to say that it's > something I've never done myself, but I'd like to avoid the committers > the burden of inserting this. What's the rule for chosin

Re: [math] serialVersionUID

2011-08-06 Thread James Carman
Use 1L :) 2011/8/6 Sébastien Brisard : > Hi, > I've just realized that many classes I've submitted do not define > serialVersionUID, which raises a warning. I have to say that it's > something I've never done myself, but I'd like to avoid the committers > the burden of inserting this. What's the

[math] serialVersionUID

2011-08-06 Thread Sébastien Brisard
Hi, I've just realized that many classes I've submitted do not define serialVersionUID, which raises a warning. I have to say that it's something I've never done myself, but I'd like to avoid the committers the burden of inserting this. What's the rule for chosing this number? (sorry for the silly