You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Brandon Goodin <Br...@plumcreek.com> on 2003/09/30 16:17:03 UTC

[Validator] FieldChecks Serializable?

I asked this question on the user list yesterday and received no reply.
So I figured this is the more appropriate place to ask.

Why does org.apache.struts.validator.FieldChecks implement Serializable
when it has nothing but static methods and static final instance
variables?

Just curious.

Brandon

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


Re: [Validator] FieldChecks Serializable?

Posted by David Graham <gr...@yahoo.com>.
I don't believe there is any reason it needs to be serializable because
objects of that class are never created and saved in other objects.  We're
just in the habit of making things Serializable in case they go into the
session.

David

--- Brandon Goodin <Br...@plumcreek.com> wrote:
> I asked this question on the user list yesterday and received no reply.
> So I figured this is the more appropriate place to ask.
> 
> Why does org.apache.struts.validator.FieldChecks implement Serializable
> when it has nothing but static methods and static final instance
> variables?
> 
> Just curious.
> 
> Brandon
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-dev-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

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