comparison artifacts/src/main/java/org/dive4elements/river/artifacts/states/DefaultState.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 799af7909e8d
children 97e148487186
comparison
equal deleted inserted replaced
8201:4b8c5a08de04 8202:e4606eae8ea5
42 /** 42 /**
43 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> 43 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
44 */ 44 */
45 public abstract class DefaultState extends AbstractState { 45 public abstract class DefaultState extends AbstractState {
46 46
47 /** The logger that is used in this class. */ 47 /** The log that is used in this class. */
48 private static Logger logger = Logger.getLogger(DefaultState.class); 48 private static Logger log = Logger.getLogger(DefaultState.class);
49 49
50 50
51 /** Determines, if the DESCRIBE document should contain default values or 51 /** Determines, if the DESCRIBE document should contain default values or
52 * not. */ 52 * not. */
53 public static final boolean USE_DEFAULTS = 53 public static final boolean USE_DEFAULTS =
122 return; 122 return;
123 } 123 }
124 124
125 String type = data.getType(); 125 String type = data.getType();
126 126
127 if (logger.isDebugEnabled()) { 127 if (log.isDebugEnabled()) {
128 logger.debug( 128 log.debug(
129 "Append element " + type + "'" + 129 "Append element " + type + "'" +
130 name + "' (" + value + ")"); 130 name + "' (" + value + ")");
131 } 131 }
132 132
133 Element e = createStaticData(flys, cr, context, name, value, type); 133 Element e = createStaticData(flys, cr, context, name, value, type);
419 CallContext cc, 419 CallContext cc,
420 StateData stateData, 420 StateData stateData,
421 String name, 421 String name,
422 String val 422 String val
423 ) { 423 ) {
424 if (logger.isDebugEnabled()) { 424 if (log.isDebugEnabled()) {
425 logger.debug("Transform data ('" + name + "','" + val + "')"); 425 log.debug("Transform data ('" + name + "','" + val + "')");
426 } 426 }
427 427
428 stateData.setValue(val); 428 stateData.setValue(val);
429 429
430 return stateData; 430 return stateData;

http://dive4elements.wald.intevation.org