Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/MultipleLocationPanel.java @ 2905:51ed89b754ae
FLYS client: Removed trailing whitespace.
flys-client/trunk@4671 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 15 Jun 2012 09:35:37 +0000 |
parents | 242b5c230707 |
children | e703555f8da1 |
comparison
equal
deleted
inserted
replaced
2904:e740c43e6f5b | 2905:51ed89b754ae |
---|---|
84 try { | 84 try { |
85 labelString = MSG.getString(getDataItemName()); | 85 labelString = MSG.getString(getDataItemName()); |
86 } | 86 } |
87 catch(java.util.MissingResourceException mre) { | 87 catch(java.util.MissingResourceException mre) { |
88 GWT.log("Cannot find translation for data item name : " + getDataItemName()); | 88 GWT.log("Cannot find translation for data item name : " + getDataItemName()); |
89 labelString = MSG.location(); | 89 labelString = MSG.location(); |
90 } | 90 } |
91 Label label = new Label(labelString); | 91 Label label = new Label(labelString); |
92 Canvas widget = createWidget(data); | 92 Canvas widget = createWidget(data); |
93 Canvas submit = getNextButton(); | 93 Canvas submit = getNextButton(); |
94 | 94 |
134 } | 134 } |
135 else { | 135 else { |
136 DataItem[] items = data.getItems(); | 136 DataItem[] items = data.getItems(); |
137 DataItem iMin = getDataItem(items, "min"); | 137 DataItem iMin = getDataItem(items, "min"); |
138 DataItem iMax = getDataItem(items, "max"); | 138 DataItem iMax = getDataItem(items, "max"); |
139 | 139 |
140 try { | 140 try { |
141 min = Double.parseDouble(iMin.getStringValue()); | 141 min = Double.parseDouble(iMin.getStringValue()); |
142 max = Double.parseDouble(iMax.getStringValue()); | 142 max = Double.parseDouble(iMax.getStringValue()); |
143 } | 143 } |
144 catch (NumberFormatException nfe) { | 144 catch (NumberFormatException nfe) { |