Mercurial > dive4elements > river
diff artifacts/src/main/java/org/dive4elements/river/exports/process/AnnotationProcessor.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 | b7b839557282 |
children | 1cc7653ca84f 0a5239a1e46e |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/exports/process/AnnotationProcessor.java Fri Sep 05 12:54:58 2014 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/exports/process/AnnotationProcessor.java Fri Sep 05 12:58:17 2014 +0200 @@ -24,8 +24,8 @@ */ public class AnnotationProcessor extends DefaultProcessor { - /** Private logger. */ - private static final Logger logger = + /** Private log. */ + private static final Logger log = Logger.getLogger(AnnotationProcessor.class); @Override @@ -41,7 +41,7 @@ CallContext context = generator.getCallContext(); if (!(bundle.getData(context) instanceof RiverAnnotation)) { // Just a bit defensive should not happen - logger.error("Incompatible facet in doOut"); + log.error("Incompatible facet in doOut"); return; } RiverAnnotation ra = (RiverAnnotation)bundle.getData(context); @@ -65,7 +65,7 @@ CallContext context = generator.getCallContext(); if (!(bundle.getData(context) instanceof RiverAnnotation)) { // Just a bit defensive should not happen - logger.error("Incompatible facet in doOut"); + log.error("Incompatible facet in doOut"); return; } RiverAnnotation ra = (RiverAnnotation)bundle.getData(context);