diff artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedDiffCalculation.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 5f60bd7c4b42
children 0a5239a1e46e
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedDiffCalculation.java	Thu Jan 18 20:10:59 2018 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedDiffCalculation.java	Thu Jan 18 20:12:01 2018 +0100
@@ -32,7 +32,10 @@
     public BedDiffCalculation() {
     }
 
-    public CalculationResult calculate(BedDifferencesAccess access, CallContext context) {
+    public CalculationResult calculate(
+        BedDifferencesAccess access,
+        CallContext context
+    ) {
         log.info("BedDiffCalculation.calculate");
 
         this.river     = access.getRiverName();
@@ -53,10 +56,16 @@
     }
 
     /** Get two BedHeights from factory. */
-    private static BedHeightData [] getHeightPair(int [] ids, double from, double to) {
+    private static BedHeightData [] getHeightPair(
+        int [] ids,
+        double from,
+        double to
+    ) {
         return new BedHeightData [] {
-            (BedHeightData)BedHeightFactory.getHeight("single", ids[0], from, to),
-            (BedHeightData)BedHeightFactory.getHeight("single", ids[1], from, to)
+            (BedHeightData)BedHeightFactory.getHeight(
+                "single", ids[0], from, to),
+            (BedHeightData)BedHeightFactory.getHeight(
+                "single", ids[1], from, to)
         };
     }
 

http://dive4elements.wald.intevation.org