comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java @ 379:c21fb8de54f8

Enabled the FLYSArtifact to handle an array of inserted WQ values (without given ranges). flys-artifacts/trunk@1793 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 02 May 2011 15:17:04 +0000
parents ed3325a0232a
children 929137ee8154
comparison
equal deleted inserted replaced
378:20c3a5b36434 379:c21fb8de54f8
173 double to = Double.parseDouble(toStr); 173 double to = Double.parseDouble(toStr);
174 double step = Double.parseDouble(stepStr); 174 double step = Double.parseDouble(stepStr);
175 175
176 double[] minmaxDist = getMinMaxDistance(artifact); 176 double[] minmaxDist = getMinMaxDistance(artifact);
177 177
178 return validateRange(minmaxDist[0], minmaxDist[1], from, to, step); 178 return validateBounds(minmaxDist[0], minmaxDist[1], from, to, step);
179 } 179 }
180 catch (NumberFormatException nfe) { 180 catch (NumberFormatException nfe) {
181 throw new IllegalArgumentException("error_feed_number_format"); 181 throw new IllegalArgumentException("error_feed_number_format");
182 } 182 }
183 } 183 }

http://dive4elements.wald.intevation.org