commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne" <scolebou...@btopenworld.com>
Subject Re: [lang] Mutable serialVersionUID usage
Date Sat, 09 Oct 2004 09:53:41 GMT
I always use a random set of numbers anyway. Not the Sun tool. I understand
the theory of using 1, but I'm not sure all our users would. Its probably
safer (fewer Q's asked on the list) to leave it as a big random number.

Stephen

----- Original Message -----
From: "Gary Gregory" <ggregory@seagullsoftware.com>
I see that all of the mutable.Mutable implementers have a
serialVersionUID variable, which is a good thing.

Now, shouldn't we consider this "Java Idiom":

http://c2.com/cgi/wiki?AlwaysDeclareSerialVersionUid

The idiom basically says that you should use the value "1" for new first
version of the class, IOW, KISS.

Gary

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



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


Mime
View raw message