comparison artifacts/src/main/java/org/dive4elements/river/artifacts/WMSHWSPointsArtifact.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 8d5ca5175038
children 5e38e2924c07
comparison
equal deleted inserted replaced
8201:4b8c5a08de04 8202:e4606eae8ea5
30 public class WMSHWSPointsArtifact extends WMSDBArtifact { 30 public class WMSHWSPointsArtifact extends WMSDBArtifact {
31 31
32 public static final String NAME = "hws_points"; 32 public static final String NAME = "hws_points";
33 33
34 34
35 private static final Logger logger = 35 private static final Logger log =
36 Logger.getLogger(WMSHWSPointsArtifact.class); 36 Logger.getLogger(WMSHWSPointsArtifact.class);
37 37
38 38
39 @Override 39 @Override
40 public String getName() { 40 public String getName() {
61 } 61 }
62 62
63 63
64 public static class HWSPointsState extends WMSDBState implements FacetTypes 64 public static class HWSPointsState extends WMSDBState implements FacetTypes
65 { 65 {
66 private static final Logger logger = 66 private static final Logger log =
67 Logger.getLogger(HWSPointsState.class); 67 Logger.getLogger(HWSPointsState.class);
68 68
69 protected int riverId; 69 protected int riverId;
70 70
71 public HWSPointsState(WMSDBArtifact artifact) { 71 public HWSPointsState(WMSDBArtifact artifact) {
80 80
81 try { 81 try {
82 riverId = Integer.parseInt(parts[0]); 82 riverId = Integer.parseInt(parts[0]);
83 } 83 }
84 catch (NumberFormatException nfe) { 84 catch (NumberFormatException nfe) {
85 logger.error("Cannot parse river id from '" + parts[0] + "'"); 85 log.error("Cannot parse river id from '" + parts[0] + "'");
86 } 86 }
87 } 87 }
88 88
89 return riverId; 89 return riverId;
90 } 90 }

http://dive4elements.wald.intevation.org