And BTW, switching to HashMap<String, String> didn't help (doing this
was ok in my case as the map is not exposed to the public API,
whatever that means in GWT context :) )
On Nov 1, 12:51 pm, Yegor <[EMAIL PROTECTED]> wrote:
> I see this warning from the compiler too with 1.5.3. Didn't cause any
> problems so far. My 2 cents.
>
> On Oct 30, 2:38 pm, WebDude <[EMAIL PROTECTED]> wrote:
>
> > I have the following class which I'm passing to and from an RPC
> > method. I receive this warning when I do:
> > [WARN] Field 'private final
> > com.google.gwt.i18n.client.impl.ConstantMap.OrderedConstantSet<java.lang.St
> > ring>
> > keys' will not be serialized because it is final
>
> > If I leave out the "stringMap" member, I do not get the warning. Is
> > this a warning I need to worry about?
>
> > public class GenericRPCObject implements IsSerializable
> > {
> > public String strObj;
> > public Map<String, Date> dateMap = new
> > HashMap<String, Date>();
> > public Map<String, String> stringMap = new
> > HashMap<String, String>();
> > public Map<String, Integer> intMap = new
> > HashMap<String, Integer>();
> > public Map<String, Double> doubleMap = new
> > HashMap<String, Double>();
> > public Map<String, GenericRPCObject> objMap = new
> > HashMap<String, GenericRPCObject>();
>
> > }
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---