comparison artifacts/src/main/java/org/dive4elements/river/artifacts/states/MinMaxState.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 42fc26e463db
comparison
equal deleted inserted replaced
8201:4b8c5a08de04 8202:e4606eae8ea5
28 * 28 *
29 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> 29 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
30 */ 30 */
31 public abstract class MinMaxState extends DefaultState { 31 public abstract class MinMaxState extends DefaultState {
32 32
33 private static final Logger logger = Logger.getLogger(MinMaxState.class); 33 private static final Logger log = Logger.getLogger(MinMaxState.class);
34 34
35 @Override 35 @Override
36 protected void appendItems( 36 protected void appendItems(
37 Artifact artifact, 37 Artifact artifact,
38 ElementCreator creator, 38 ElementCreator creator,
142 protected String[] getMinMaxByParameter(Artifact artifact, String name) { 142 protected String[] getMinMaxByParameter(Artifact artifact, String name) {
143 D4EArtifact flys = (D4EArtifact) artifact; 143 D4EArtifact flys = (D4EArtifact) artifact;
144 String rawValue = flys.getDataAsString(name); 144 String rawValue = flys.getDataAsString(name);
145 145
146 if (rawValue == null) { 146 if (rawValue == null) {
147 logger.debug("No value for '" + rawValue + "' existing."); 147 log.debug("No value for '" + rawValue + "' existing.");
148 return null; 148 return null;
149 } 149 }
150 150
151 logger.debug("Raw value for '" + name + "' = " + rawValue); 151 log.debug("Raw value for '" + name + "' = " + rawValue);
152 152
153 return extractRangeAsString(rawValue); 153 return extractRangeAsString(rawValue);
154 } 154 }
155 155
156 156

http://dive4elements.wald.intevation.org