Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java @ 3555:b1912514e0f5
s/container.size() == 0/container.isEmpty()/
flys-artifacts/trunk@5149 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sat, 28 Jul 2012 21:48:15 +0000 |
parents | 5642a83420f2 |
children | efb067ab2ca4 |
comparison
equal
deleted
inserted
replaced
3554:9b356ed24411 | 3555:b1912514e0f5 |
---|---|
158 for (String stateId: stateIds) { | 158 for (String stateId: stateIds) { |
159 logger.debug("Append output modes for state: " + stateId); | 159 logger.debug("Append output modes for state: " + stateId); |
160 DefaultState state = (DefaultState) engine.getState(stateId); | 160 DefaultState state = (DefaultState) engine.getState(stateId); |
161 | 161 |
162 List<Output> list = state.getOutputs(); | 162 List<Output> list = state.getOutputs(); |
163 if (list == null || list.size() == 0) { | 163 if (list == null || list.isEmpty()) { |
164 logger.debug("-> No output modes for this state."); | 164 logger.debug("-> No output modes for this state."); |
165 continue; | 165 continue; |
166 } | 166 } |
167 | 167 |
168 List<Facet> fs = facets.get(stateId); | 168 List<Facet> fs = facets.get(stateId); |
169 if (fs == null || fs.size() == 0) { | 169 if (fs == null || fs.isEmpty()) { |
170 logger.debug("No facets found."); | 170 logger.debug("No facets found."); |
171 continue; | 171 continue; |
172 } | 172 } |
173 | 173 |
174 logger.debug("Found " + fs.size() + " facets in previous states."); | 174 logger.debug("Found " + fs.size() + " facets in previous states."); |