Mercurial > dive4elements > river
diff artifacts/src/main/java/org/dive4elements/river/artifacts/context/RiverContext.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 | 744df5a03337 |
children | 9667900536b6 |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/context/RiverContext.java Fri Sep 05 12:54:58 2014 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/context/RiverContext.java Fri Sep 05 12:58:17 2014 +0200 @@ -26,8 +26,8 @@ */ public class RiverContext extends DefaultArtifactContext { - /** The logger used in this class. */ - private static Logger logger = Logger.getLogger(RiverContext.class); + /** The log used in this class. */ + private static Logger log = Logger.getLogger(RiverContext.class); /** The key that is used to store the StateEngine in the context. */ public static final String ARTIFACT_KEY = @@ -112,7 +112,7 @@ Pair<Class<OutGenerator>, Object> pair = generators.getGenerator(name); if (pair == null) { - logger.warn("No generator class found for " + name); + log.warn("No generator class found for " + name); return null; } @@ -123,10 +123,10 @@ return generator; } catch (InstantiationException ie) { - logger.error(ie, ie); + log.error(ie, ie); } catch (IllegalAccessException iae) { - logger.error(iae, iae); + log.error(iae, iae); } return null;