struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Husted" <>
Subject Should we add serialVersionUID fields for example applications?
Date Thu, 06 Sep 2007 13:42:28 GMT
So, for complicated reasons, I'm trying to use Eclipse more these days.

Something it likes to do is nag that "The serializable class
$classname does not declare a static final serialVersionUID field of
type long".

Since the Actions are serializable, we get this alot :)

A seemingly good explanation of the message is here:


Do we want to go ahead and add the field and silence the nag? Or just
turn it off in our Eclipse IDEs? Or add the "@SupressWarnings"
annotations? Otherwise, it's hard to tell if we've addressed any other

If we were to add it and use the "quick fix", should we "add a default
serial ID" or  "add generated serial ID"?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message