comparison artifacts/src/main/java/org/dive4elements/river/artifacts/services/RiverInfoService.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 b73b1ab2155c
children c4ce25093953
comparison
equal deleted inserted replaced
8201:4b8c5a08de04 8202:e4606eae8ea5
26 /** 26 /**
27 * @author <a href="mailto:bjoern.ricks@intevation.de">Björn Ricks</a> 27 * @author <a href="mailto:bjoern.ricks@intevation.de">Björn Ricks</a>
28 */ 28 */
29 public class RiverInfoService extends D4EService { 29 public class RiverInfoService extends D4EService {
30 30
31 private static final Logger logger = Logger.getLogger( 31 private static final Logger log = Logger.getLogger(
32 RiverInfoService.class); 32 RiverInfoService.class);
33 33
34 protected static final String RIVER_XPATH = "/art:river/text()"; 34 protected static final String RIVER_XPATH = "/art:river/text()";
35 35
36 protected XMLUtils.ElementCreator ec; 36 protected XMLUtils.ElementCreator ec;
49 river = RiverFactory.getRiver(rivername); 49 river = RiverFactory.getRiver(rivername);
50 50
51 Document result = XMLUtils.newDocument(); 51 Document result = XMLUtils.newDocument();
52 52
53 if (river == null) { 53 if (river == null) {
54 logger.warn("No river with name " + rivername + " found."); 54 log.warn("No river with name " + rivername + " found.");
55 return null; 55 return null;
56 } 56 }
57 57
58 ec = new XMLUtils.ElementCreator( 58 ec = new XMLUtils.ElementCreator(
59 result, 59 result,

http://dive4elements.wald.intevation.org