Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/states/fixation/EventSelect.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 | c7e5285d434f 0a5239a1e46e |
comparison
equal
deleted
inserted
replaced
8201:4b8c5a08de04 | 8202:e4606eae8ea5 |
---|---|
31 /** | 31 /** |
32 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a> | 32 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a> |
33 */ | 33 */ |
34 public class EventSelect extends DefaultState { | 34 public class EventSelect extends DefaultState { |
35 | 35 |
36 /** The logger used in this class. */ | 36 /** The log used in this class. */ |
37 private static Logger logger = Logger.getLogger(EventSelect.class); | 37 private static Logger log = Logger.getLogger(EventSelect.class); |
38 | 38 |
39 | 39 |
40 /** | 40 /** |
41 * The default constructor that initializes an empty State object. | 41 * The default constructor that initializes an empty State object. |
42 */ | 42 */ |
89 public static String getLabel( | 89 public static String getLabel( |
90 CallContext cc, | 90 CallContext cc, |
91 int value, | 91 int value, |
92 FixingsOverview overview | 92 FixingsOverview overview |
93 ) { | 93 ) { |
94 logger.debug("Create label for value: " + value); | 94 log.debug("Create label for value: " + value); |
95 | 95 |
96 IdFilter filter = new IdFilter(value); | 96 IdFilter filter = new IdFilter(value); |
97 List<Fixing.Column> columns = overview.filter(null, filter); | 97 List<Fixing.Column> columns = overview.filter(null, filter); |
98 return columns.isEmpty() | 98 return columns.isEmpty() |
99 ? "" | 99 ? "" |