Load additional properties through an instance of SystemProperties so the keys

are transformed to lowercase. Otherwise lookup will not work for keys that contain
upper case characters.
This commit is contained in:
hns 2002-11-11 18:59:57 +00:00
parent 62d38fcef6
commit 667dfb8544

View file

@ -141,7 +141,7 @@ public final class SystemProperties extends Properties {
* of discarding them. * of discarding them.
*/ */
public synchronized void addProps (String key, InputStream in) throws IOException { public synchronized void addProps (String key, InputStream in) throws IOException {
Properties p = new Properties(); Properties p = new SystemProperties();
p.load (in); p.load (in);
if (additionalProps == null) if (additionalProps == null)
additionalProps = new HashMap (); additionalProps = new HashMap ();