diff gwt-client/src/main/java/org/dive4elements/river/client/client/ui/map/DrawControl.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 ea9eef426962
children
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/map/DrawControl.java	Thu Jan 18 20:10:59 2018 +0100
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/map/DrawControl.java	Thu Jan 18 20:12:01 2018 +0100
@@ -38,9 +38,11 @@
 import org.gwtopenmaps.openlayers.client.util.Attributes;
 
 /**
- * Widget that handles the drawing of pipes and dikes in the DigitizePanel (MapPanel).
+ * Widget that handles the drawing of pipes and dikes
+ * in the DigitizePanel (MapPanel).
  */
-public class DrawControl extends HLayout implements VectorFeatureAddedListener {
+public class DrawControl
+    extends HLayout implements VectorFeatureAddedListener {
 
     public static final String BARRIER_PIPE1    = "pipe1";
     public static final String BARRIER_PIPE2    = "pipe2";
@@ -111,14 +113,16 @@
         form.setTitlePrefix("");
         form.setTitleSuffix("");
 
-        final LinkedHashMap<String, String> map = new LinkedHashMap<String, String>();
+        final LinkedHashMap<String, String> map =
+            new LinkedHashMap<String, String>();
         map.put(BARRIER_PIPE1, MSG.getString(BARRIER_PIPE1));
         map.put(BARRIER_PIPE2, MSG.getString(BARRIER_PIPE2));
         map.put(BARRIER_DITCH, MSG.getString(BARRIER_DITCH));
         map.put(BARRIER_DAM, MSG.getString(BARRIER_DAM));
         map.put(BARRIER_RINGDIKE, MSG.getString(BARRIER_RINGDIKE));
 
-        final LinkedHashMap<String, String> ics = new LinkedHashMap<String, String>();
+        final LinkedHashMap<String, String> ics =
+            new LinkedHashMap<String, String>();
         ics.put(BARRIER_PIPE1, BARRIER_PIPE1);
         ics.put(BARRIER_PIPE2, BARRIER_PIPE2);
         ics.put(BARRIER_DITCH, BARRIER_DITCH);
@@ -221,7 +225,8 @@
         map.addControl(control);
         control.activate();
 
-        // Make sure the barrier layer is on top; sometime it looses it z-index...
+        // Make sure the barrier layer is on top;
+        // sometime it looses it z-index...
         layer.setZIndex(1000);
     }
 

http://dive4elements.wald.intevation.org