dgraham 2003/09/10 21:27:21 Modified: src/share/org/apache/struts/util PropertyMessageResources.java Log: Changed constructor "Initializing.." messages from info to trace level for PR# 23062. Revision Changes Path 1.9 +10 -8 jakarta-struts/src/share/org/apache/struts/util/PropertyMessageResources.java Index: PropertyMessageResources.java =================================================================== RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/util/PropertyMessageResources.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- PropertyMessageResources.java 19 Apr 2003 19:06:02 -0000 1.8 +++ PropertyMessageResources.java 11 Sep 2003 04:27:21 -0000 1.9 @@ -107,7 +107,7 @@ String config) { super(factory, config); - log.info("Initializing, config='" + config + "'"); + log.trace("Initializing, config='" + config + "'"); } @@ -124,7 +124,7 @@ String config, boolean returnNull) { super(factory, config, returnNull); - log.info("Initializing, config='" + config + + log.trace("Initializing, config='" + config + "', returnNull=" + returnNull); } @@ -143,8 +143,8 @@ /** * The <code>Log</code> instance for this class. */ - protected static final Log log = - LogFactory.getLog(PropertyMessageResources.class); + protected static final Log log = + LogFactory.getLog(PropertyMessageResources.class); /** @@ -273,6 +273,7 @@ if (locales.get(localeKey) != null) { return; } + locales.put(localeKey, localeKey); // Set up to load the property resource for this locale key, if we can @@ -280,6 +281,7 @@ if (localeKey.length() > 0) { name += "_" + localeKey; } + name += ".properties"; InputStream is = null; Properties props = new Properties();
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]