diff gwt-client/src/main/java/org/dive4elements/river/client/client/ui/minfo/SedLoadPeriodPanel.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
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/minfo/SedLoadPeriodPanel.java	Thu Jan 18 20:10:59 2018 +0100
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/minfo/SedLoadPeriodPanel.java	Thu Jan 18 20:12:01 2018 +0100
@@ -128,7 +128,8 @@
         descr.setWidth("*");
 
         String baseUrl = GWT.getHostPageBaseURL();
-        ListGridField pinFrom = new ListGridField ("fromIcon",  MESSAGES.selection());
+        ListGridField pinFrom = new ListGridField(
+            "fromIcon",  MESSAGES.selection());
         pinFrom.setWidth (60);
         pinFrom.setType (ListGridFieldType.ICON);
         pinFrom.setCellIcon(baseUrl + MESSAGES.markerGreen());
@@ -169,7 +170,8 @@
         if (yearsItem != null && !yearsItem.getValueAsString().isEmpty()) {
             List<Data> data = new ArrayList<Data>();
 
-            DataItem yearsdata = new DefaultDataItem("years", "years", yearsItem.getValueAsString().trim());
+            DataItem yearsdata = new DefaultDataItem(
+                "years", "years", yearsItem.getValueAsString().trim());
             data.add(new DefaultData(
                 "years",
                 null,
@@ -252,7 +254,8 @@
             GWT.log("Failed to find sq time interval id in data.");
         }
 
-        sedLoadInfoService.getSedimentLoadInfo(locale, river, "single", km[0], km[1], sq_ti_id,
+        sedLoadInfoService.getSedimentLoadInfo(
+            locale, river, "single", km[0], km[1], sq_ti_id,
             new AsyncCallback<SedimentLoadInfoObject[]>() {
                 public void onFailure(Throwable caught) {
                     GWT.log("Could not recieve sediment load informations.");

http://dive4elements.wald.intevation.org