comparison artifacts/src/main/java/org/dive4elements/river/artifacts/states/WaterlevelSelectState.java @ 7660:a16caa4355be

Fix.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 06 Dec 2013 10:53:01 +0100
parents 84573d5935be
children a1ceacf15d3a
comparison
equal deleted inserted replaced
7659:2e1392067986 7660:a16caa4355be
169 else { 169 else {
170 logger.error("Do not know how to handle " + rawData.getClass()); 170 logger.error("Do not know how to handle " + rawData.getClass());
171 } 171 }
172 172
173 wkms = null; 173 wkms = null;
174 if (wqkms == null || wqkms.length == 0) { 174 }
175 if (wkms == null || wkms.length == 0) {
175 logger.error("No data for label generation."); 176 logger.error("No data for label generation.");
176 // This is critical, will fail without much grace later further down 177 // This is critical, will fail without much grace later further down
177 // the road. 178 // the road.
178 return new String[] {""}; 179 return new String[] {""};
179 } 180 }

http://dive4elements.wald.intevation.org