diff backend/src/main/java/org/dive4elements/river/importer/parsers/W80Parser.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 9d2e69f971f5
children 0a5239a1e46e
line wrap: on
line diff
--- a/backend/src/main/java/org/dive4elements/river/importer/parsers/W80Parser.java	Thu Jan 18 20:10:59 2018 +0100
+++ b/backend/src/main/java/org/dive4elements/river/importer/parsers/W80Parser.java	Thu Jan 18 20:12:01 2018 +0100
@@ -193,7 +193,12 @@
      * @return true if point could been added, false otherwise (e.g. not
      *         parsable y or z values.
      */
-    private boolean addPoint(double gkr, double gkh, double height, String idx) {
+    private boolean addPoint(
+        double gkr,
+        double gkh,
+        double height,
+        String idx
+    ) {
         // Calculate distance between this and lst point (add distances).
         double d = distanceToLastPoint(gkr, gkh);
         double totalX = getLastPointX() + d;
@@ -219,7 +224,8 @@
      */
     @Override
     protected void handleLine(int lineNum, String line) {
-        // The 'shore' field shows which side of the river the shore is measured.
+        // The 'shore' field shows which side of the river
+        // the shore is measured.
         // Therefore, the points have to be added in the correct order (also
         // because later distances are calculated which cannot be
         // negative.

http://dive4elements.wald.intevation.org