comparison artifacts/src/main/java/org/dive4elements/river/artifacts/services/GaugeOverviewInfoService.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 0a5239a1e46e
comparison
equal deleted inserted replaced
8201:4b8c5a08de04 8202:e4606eae8ea5
27 /** 27 /**
28 * @author <a href="mailto:bjoern.ricks@intevation.de">Björn Ricks</a> 28 * @author <a href="mailto:bjoern.ricks@intevation.de">Björn Ricks</a>
29 */ 29 */
30 public class GaugeOverviewInfoService extends RiverInfoService { 30 public class GaugeOverviewInfoService extends RiverInfoService {
31 31
32 private static final Logger logger = Logger.getLogger( 32 private static final Logger log = Logger.getLogger(
33 GaugeOverviewInfoService.class); 33 GaugeOverviewInfoService.class);
34 34
35 @Override 35 @Override
36 public Document doProcess( 36 public Document doProcess(
37 Document data, 37 Document data,
38 GlobalContext globalContext, 38 GlobalContext globalContext,
39 CallMeta callMeta 39 CallMeta callMeta
40 ) { 40 ) {
41 Document result = super.doProcess(data, globalContext, callMeta); 41 Document result = super.doProcess(data, globalContext, callMeta);
42 42
43 logger.debug("GaugeOverviewInfoService.process"); 43 log.debug("GaugeOverviewInfoService.process");
44 44
45 Element egs = ec.create("gauges"); 45 Element egs = ec.create("gauges");
46 46
47 List<Gauge> gauges = river.getGauges(); 47 List<Gauge> gauges = river.getGauges();
48 48
49 if (logger.isDebugEnabled()) { 49 if (log.isDebugEnabled()) {
50 logger.debug("Loaded gauges: " + gauges); 50 log.debug("Loaded gauges: " + gauges);
51 } 51 }
52 52
53 for (Gauge gauge: river.getGauges()) { 53 for (Gauge gauge: river.getGauges()) {
54 Element eg = ec.create("gauge"); 54 Element eg = ec.create("gauge");
55 55

http://dive4elements.wald.intevation.org