Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/states/FloodplainChoice.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 | 13650d8a2373 0a5239a1e46e |
comparison
equal
deleted
inserted
replaced
8201:4b8c5a08de04 | 8202:e4606eae8ea5 |
---|---|
30 | 30 |
31 public static final String OPTION = "floodplain.option"; | 31 public static final String OPTION = "floodplain.option"; |
32 public static final String ACTIVE = "floodplain.active"; | 32 public static final String ACTIVE = "floodplain.active"; |
33 public static final String INACTIVE = "floodplain.inactive"; | 33 public static final String INACTIVE = "floodplain.inactive"; |
34 | 34 |
35 private static final Logger logger = | 35 private static final Logger log = |
36 Logger.getLogger(FloodplainChoice.class); | 36 Logger.getLogger(FloodplainChoice.class); |
37 | 37 |
38 | 38 |
39 @Override | 39 @Override |
40 protected String getUIProvider() { | 40 protected String getUIProvider() { |
64 CallContext cc, | 64 CallContext cc, |
65 String name, | 65 String name, |
66 String value, | 66 String value, |
67 String type | 67 String type |
68 ) { | 68 ) { |
69 logger.debug("GET LABEL FOR '" + name + "' / '" + value + "'"); | 69 log.debug("GET LABEL FOR '" + name + "' / '" + value + "'"); |
70 if (value != null && value.equals("true")) { | 70 if (value != null && value.equals("true")) { |
71 return Resources.getMsg(cc.getMeta(), ACTIVE, ACTIVE); | 71 return Resources.getMsg(cc.getMeta(), ACTIVE, ACTIVE); |
72 } | 72 } |
73 else { | 73 else { |
74 return Resources.getMsg(cc.getMeta(), INACTIVE, INACTIVE); | 74 return Resources.getMsg(cc.getMeta(), INACTIVE, INACTIVE); |