diff gwt-client/src/main/java/org/dive4elements/river/client/client/ui/LocationDistancePanel.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 07df414d5d88
children 34dc0163ad2d
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/LocationDistancePanel.java	Thu Jan 18 20:10:59 2018 +0100
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/LocationDistancePanel.java	Thu Jan 18 20:12:01 2018 +0100
@@ -290,8 +290,8 @@
                         if (isLocationMode ()) {
                             appendLocation(r.getAttribute("to"));
                         } else {
-                            /* Distance and double pin behavior is only defined for
-                             * location mode. */
+                            /* Distance and double pin behavior is only
+                             * defined for location mode. */
                             GWT.log("Unhandled input state.");
                         }
                     }
@@ -320,8 +320,8 @@
                         if (!isLocationMode ()) {
                             setTo(r.getAttribute("from"));
                         } else {
-                            /* Distance and double pin behavior is only defined for
-                             * location mode. */
+                            /* Distance and double pin behavior is only
+                             * defined for location mode. */
                             GWT.log("Unhandled input state.");
                         }
                     }
@@ -884,7 +884,8 @@
             Data dFrom   = getDataFrom();
             Data dTo     = getDataTo();
             Data dStep   = getDataStep();
-            DataItem loc = new DefaultDataItem("ld_locations", "ld_locations","");
+            DataItem loc = new DefaultDataItem(
+                "ld_locations", "ld_locations","");
 
             data.add(dFrom);
             data.add(dTo);
@@ -1160,11 +1161,13 @@
         radio.setVertical(false);
         radio.setWrap(false);
 
-        LinkedHashMap<String, String> values = new LinkedHashMap<String, String>();
+        LinkedHashMap<String, String> values =
+            new LinkedHashMap<String, String>();
         values.put(FIELD_VALUE_LOCATION, MESSAGES.location());
         values.put(FIELD_VALUE_DISTANCE, MESSAGES.distance());
 
-        LinkedHashMap<String, String> initial = new LinkedHashMap<String, String>();
+        LinkedHashMap<String, String> initial =
+            new LinkedHashMap<String, String>();
         initial.put(FIELD_MODE, FIELD_VALUE_DISTANCE);
 
         radio.setValueMap(values);

http://dive4elements.wald.intevation.org