Mercurial > dive4elements > river
diff artifacts/src/main/java/org/dive4elements/river/artifacts/model/MainValuesWFacet.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 | 4de4b19b6be6 |
children | 27d42c9ee367 |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/MainValuesWFacet.java Fri Sep 05 12:54:58 2014 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/MainValuesWFacet.java Fri Sep 05 12:58:17 2014 +0200 @@ -32,8 +32,8 @@ extends DefaultFacet implements FacetTypes { - /** Own logger. */ - private static Logger logger = Logger.getLogger(MainValuesWFacet.class); + /** Own log. */ + private static Logger log = Logger.getLogger(MainValuesWFacet.class); /** Do we want MainValues at Gauge (not interpolated)? */ protected boolean isAtGauge; @@ -60,8 +60,8 @@ if (day != null) { annotation.setHitPoint(day.floatValue()); } - else if (logger.isDebugEnabled()) { - logger.debug("StickyAnnotation does not hit wqday curve: " + w); + else if (log.isDebugEnabled()) { + log.debug("StickyAnnotation does not hit wqday curve: " + w); } } @@ -87,7 +87,7 @@ List<DataProvider> providers = context. getDataProvider(DurationCurveFacet.BB_DURATIONCURVE); if (providers.size() < 1) { - logger.warn("Could not find durationcurve data provider."); + log.warn("Could not find durationcurve data provider."); // Do we have a current km in context? // If so, we are likely fetching data for a navigable // diagram (i.e. in fixation branch). @@ -107,9 +107,9 @@ } for (NamedDouble w: ws) { - logger.debug("W Annotation at " + w.getValue() + " ("+w.getName()+")"+ wqdays); + log.debug("W Annotation at " + w.getValue() + " ("+w.getName()+")"+ wqdays); if (Double.isNaN(w.getValue())) { - logger.warn("NaN MainValue " + w.getName()); + log.warn("NaN MainValue " + w.getName()); continue; } StickyAxisAnnotation annotation =