Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/minfo/SedLoadEpochPanel.java @ 8856:5e38e2924c07 3.2.x
Fix code style.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 18 Jan 2018 20:12:01 +0100 |
parents | 582e970115b6 |
children |
comparison
equal
deleted
inserted
replaced
8855:d7c005e12af0 | 8856:5e38e2924c07 |
---|---|
127 | 127 |
128 elements.addRecordClickHandler(new RecordClickHandler() { | 128 elements.addRecordClickHandler(new RecordClickHandler() { |
129 @Override | 129 @Override |
130 public void onRecordClick(final RecordClickEvent event) { | 130 public void onRecordClick(final RecordClickEvent event) { |
131 // Just handle remove-clicks | 131 // Just handle remove-clicks |
132 if(!event.getField().getName().equals(removeField.getName())) { | 132 if(!event.getField().getName() |
133 .equals(removeField.getName()) | |
134 ) { | |
133 return; | 135 return; |
134 } | 136 } |
135 event.getViewer().removeData(event.getRecord()); | 137 event.getViewer().removeData(event.getRecord()); |
136 } | 138 } |
137 }); | 139 }); |
295 | 297 |
296 if (sq_ti_id.isEmpty()){ | 298 if (sq_ti_id.isEmpty()){ |
297 GWT.log("Failed to find sq time interval id in data."); | 299 GWT.log("Failed to find sq time interval id in data."); |
298 } | 300 } |
299 | 301 |
300 sedLoadInfoService.getSedimentLoadInfo(locale, river, "single", km[0], km[1], sq_ti_id, | 302 sedLoadInfoService.getSedimentLoadInfo( |
303 locale, river, "single", km[0], km[1], sq_ti_id, | |
301 new AsyncCallback<SedimentLoadInfoObject[]>() { | 304 new AsyncCallback<SedimentLoadInfoObject[]>() { |
302 public void onFailure(Throwable caught) { | 305 public void onFailure(Throwable caught) { |
303 GWT.log("Could not recieve sediment load informations."); | 306 GWT.log("Could not recieve sediment load informations."); |
304 SC.warn(MSG.getString(caught.getMessage())); | 307 SC.warn(MSG.getString(caught.getMessage())); |
305 } | 308 } |