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 for chosing this number?
Obviously different people have different rules. 8-) I tend to run the JDK's servialver tool on the class before adding the serialVersionUID and use that value, it is the value the class would have without the long attribute in the first place. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org