Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/client/ui/MultipleLocationPanel.java @ 1618:95b821d63db3
Cosmetics.
flys-client/trunk@3990 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 09 Feb 2012 10:55:28 +0000 |
parents | f13a7c126f24 |
children | 242b5c230707 |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/MultipleLocationPanel.java Thu Feb 09 09:52:37 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/MultipleLocationPanel.java Thu Feb 09 10:55:28 2012 +0000 @@ -204,11 +204,11 @@ return errors; } - double[] values = getLocationValues(); - double[] good = new double[values.length]; + double[] lValues = getLocationValues(); + double[] good = new double[lValues.length]; int idx = 0; - for (double value: values) { + for (double value: lValues) { if (value < min || value > max) { String tmp = MSG.error_validate_range(); tmp = tmp.replace("$1", nf.format(value)); @@ -241,15 +241,15 @@ */ public Data[] getData() { saveLocationValues(locationPanel); - double[] values = getLocationValues(); + double[] lValues = getLocationValues(); Data[] data = new Data[2]; boolean first = true; String valueString = ""; - for (int i = 0; i < values.length; i++) { + for (int i = 0; i < lValues.length; i++) { if (!first) valueString += " "; else first = false; - valueString += Double.valueOf(values[i]).toString(); + valueString += Double.valueOf(lValues[i]).toString(); } data[0] = createDataArray(getDataItemName(), valueString);