comparison artifacts/src/main/java/org/dive4elements/river/artifacts/resources/Resources.java @ 8202:e4606eae8ea5

sed src/**/*.java 's/logger/log/g'
author Sascha L. Teichmann <teichmann@intevation.de>
date Fri, 05 Sep 2014 12:58:17 +0200
parents af13ceeba52a
children 1cd7225df846
comparison
equal deleted inserted replaced
8201:4b8c5a08de04 8202:e4606eae8ea5
22 * 22 *
23 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> 23 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
24 */ 24 */
25 public class Resources { 25 public class Resources {
26 26
27 /** The logger that is used in this class.*/ 27 /** The log that is used in this class.*/
28 private static Logger logger = Logger.getLogger(Resources.class); 28 private static Logger log = Logger.getLogger(Resources.class);
29 29
30 /** The singleton instance.*/ 30 /** The singleton instance.*/
31 private static Resources INSTANCE; 31 private static Resources INSTANCE;
32 32
33 /** The locales supported by this server.*/ 33 /** The locales supported by this server.*/
176 176
177 try { 177 try {
178 return bundle.getString(key); 178 return bundle.getString(key);
179 } 179 }
180 catch (MissingResourceException mre) { 180 catch (MissingResourceException mre) {
181 logger.warn("No message found for key: " + key); 181 log.warn("No message found for key: " + key);
182 182
183 return def; 183 return def;
184 } 184 }
185 } 185 }
186 } 186 }

http://dive4elements.wald.intevation.org