struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <Craig.McClana...@eng.sun.com>
Subject Re: Why is MessageResources.formats (hashmap) private??
Date Wed, 10 Jan 2001 22:09:40 GMT
Johan Compagner wrote:

> > > So i could override the getMessage(locale,key,args[]) and don't call super
at all.
> > > But that is not a nice way.
> > >
> >
> > Or override this in a similar fashion -- do the check and then call super.getMessage(locale,
key, args[]) of no reload
> > was necessary.
>
> But if a reload is necessary in that method, what must i do?
> Then i want to clear the formats hashmap!
> But this isn't possible because it is private.
>

Oops ... that's where I was being dense and not understanding you.  Sorry 'bout that -- I
just checked in a patch to make
this protected instead.

>
> Johan

Craig



Mime
View raw message