commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From george stewart <gstew...@us-south.net>
Subject [resources]ResourceBundle.getBundle
Date Tue, 18 Mar 2003 14:07:06 GMT
In the messages class, there's static method:
    public static Messages getMessages(String name)

which does this:
Resources resources = factory.getResources(name + ".LocalStrings");

This doesn't work for ResourceBundle.getBundle on W2K with JDK 1.3.1_04.

You could use name of the form name + "_LocalStrings".

Secondly, wouldn't users prefer an exception in this method instead of the silent failure?


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


Mime
View raw message