diff artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepthminmax/FlowDepthMinMaxCalculation.java @ 9312:740d65e4aa14

Q [m³/s] one message
author gernotbelger
date Thu, 26 Jul 2018 15:54:20 +0200
parents d5802f22e4f5
children 7b2b086e45f0
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepthminmax/FlowDepthMinMaxCalculation.java	Thu Jul 26 11:16:06 2018 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepthminmax/FlowDepthMinMaxCalculation.java	Thu Jul 26 15:54:20 2018 +0200
@@ -121,7 +121,7 @@
         final String soundingLabel = bedHeightInfo.getDescription();
 
         /* real calculation loop */
-        final Collection< ResultRow> rows = new ArrayList<>();
+        final Collection<ResultRow> rows = new ArrayList<>();
 
         final Collection<Double> stations = bedHeight.getStations();
         for (final double station : stations) {
@@ -147,7 +147,7 @@
                 if (Double.isNaN(wst) || Double.isNaN(minBedHeightValue) || Double.isNaN(maxBedHeightValue))
                     continue;
 
-                final  ResultRow row =  ResultRow.create().//
+                final ResultRow row = ResultRow.create().//
                         putValue(GeneralResultType.station, station). //
                         putValue(SInfoResultType.flowdepthmin, minFlowDepth). //
                         putValue(SInfoResultType.flowdepthmax, maxFlowDepth). //
@@ -157,7 +157,7 @@
                         putValue(SInfoResultType.gaugeLabel, gaugeLabel). //
                         putValue(SInfoResultType.meanBedHeight, meanBedHeight). //
                         putValue(SInfoResultType.soundingLabel, soundingLabel). //
-                        putValue(SInfoResultType.location, location);
+                        putValue(GeneralResultType.location, location);
                 rows.add(row);
             }
         }

http://dive4elements.wald.intevation.org