comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java @ 4054:102050c4fc00

fix issue909: strange validation code. be fearles.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Mon, 08 Oct 2012 10:03:51 +0200
parents 721298eeb694
children
comparison
equal deleted inserted replaced
4053:f85f230c5c6c 4054:102050c4fc00
135 logger.debug("WDifferencesState has: " + diffids); 135 logger.debug("WDifferencesState has: " + diffids);
136 String datas[] = diffids.split("#"); 136 String datas[] = diffids.split("#");
137 137
138 // Validate the Data-Strings. 138 // Validate the Data-Strings.
139 for (String s: datas) { 139 for (String s: datas) {
140 if (!WaterlevelSelectState.isValueValid(winfo.getDataAsString("diffids"))) { 140 if (!WaterlevelSelectState.isValueValid(s)) {
141 // TODO: escalate. 141 // TODO: escalate.
142 } 142 }
143 } 143 }
144 144
145 if (datas.length < 2) { 145 if (datas.length < 2) {

http://dive4elements.wald.intevation.org