[prev in list] [next in list] [prev in thread] [next in thread] 

List:       avalon-dev
Subject:    Re: cvs commit: jakarta-avalon-excalibur/i18n/src/java/org/apache/avalon/excalibur/i18n ResourceMana
From:       Peter Donald <peter () realityforge ! org>
Date:       2003-01-31 23:40:01
[Download RAW message or body]

On Sat, 1 Feb 2003 10:23, Stephen McConnell wrote:
> >It breaks
> >
> >r1 = ResourceManager.getResources( X.class, Locale.de );
> >r2 = ResourceManager.getResources( X.class, Locale.en );
> >r3 = ResourceManager.getResources( X.class );
> >
> >and will always return the german resources rather than german, english
> > and default locale.
>
> That is the intention.

Seems stupid. I would expect 

ResourceManager.getResources( X.class, Locale.en )

to return english resources myself.

-- 
Cheers,

Peter Donald
------------------------------------
The two secrets to success:
   1- Don't tell anyone everything.
------------------------------------ 


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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic