comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/ChartArtifact.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 2f922be407ea
children cbe2febe30cc
comparison
equal deleted inserted replaced
3554:9b356ed24411 3555:b1912514e0f5
93 for (String stateId: stateIds) { 93 for (String stateId: stateIds) {
94 logger.debug("Append output modes for state: " + stateId); 94 logger.debug("Append output modes for state: " + stateId);
95 DefaultState state = (DefaultState) engine.getState(stateId); 95 DefaultState state = (DefaultState) engine.getState(stateId);
96 96
97 List<Output> list = state.getOutputs(); 97 List<Output> list = state.getOutputs();
98 if (list == null || list.size() == 0) { 98 if (list == null || list.isEmpty()) {
99 logger.debug("-> No output modes for this state."); 99 logger.debug("-> No output modes for this state.");
100 continue; 100 continue;
101 } 101 }
102 102
103 List<Facet> fs = facets.get(stateId); 103 List<Facet> fs = facets.get(stateId);
104 104
105 if (fs == null || fs.size() == 0) { 105 if (fs == null || fs.isEmpty()) {
106 logger.debug("No facets for previous state found."); 106 logger.debug("No facets for previous state found.");
107 continue; 107 continue;
108 } 108 }
109 109
110 logger.debug("Found " + fs.size() + " facets in previous states."); 110 logger.debug("Found " + fs.size() + " facets in previous states.");

http://dive4elements.wald.intevation.org