Mercurial > dive4elements > river
diff artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedQualityCalculation.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 | 9cbbaedc6cba |
children | 0a5239a1e46e |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedQualityCalculation.java Thu Jan 18 20:10:59 2018 +0100 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedQualityCalculation.java Thu Jan 18 20:12:01 2018 +0100 @@ -137,14 +137,17 @@ result.setDateRange(dr); if (!bedDiameter.isEmpty()) { log.debug("Bed diameter is not empty + " + bedDiameter); - addValuesToResult(result, calculateBedParameter(bedMeasurements)); + addValuesToResult( + result, calculateBedParameter(bedMeasurements)); for (String bd : bedDiameter) { - addValuesToResult(result, calculateBed(bedMeasurements, bd)); + addValuesToResult( + result, calculateBed(bedMeasurements, bd)); } } if (!bedloadDiameter.isEmpty()) { for (String bld : bedloadDiameter) { - addValuesToResult(result, calculateBedload(loadMeasurements, bld)); + addValuesToResult( + result, calculateBedload(loadMeasurements, bld)); } } results.add(result); @@ -193,16 +196,20 @@ } return new BedQualityResultValue[] { new BedQualityResultValue("porosity", - new double[][] {location.toNativeArray(), porositySub.toNativeArray()}, + new double[][] {location.toNativeArray(), + porositySub.toNativeArray()}, "sublayer"), new BedQualityResultValue("porosity", - new double[][] {location.toNativeArray(), porosityCap.toNativeArray()}, + new double[][] {location.toNativeArray(), + porosityCap.toNativeArray()}, "toplayer"), new BedQualityResultValue("density", - new double[][] {location.toNativeArray(), densitySub.toNativeArray()}, + new double[][] {location.toNativeArray(), + densitySub.toNativeArray()}, "sublayer"), new BedQualityResultValue("density", - new double[][] {location.toNativeArray(), densityCap.toNativeArray()}, + new double[][] {location.toNativeArray(), + densityCap.toNativeArray()}, "toplayer")}; } @@ -230,10 +237,12 @@ } return new BedQualityResultValue[] { new BedQualityResultValue(diameter, - new double[][] {location.toNativeArray(), avDiameterSub.toNativeArray()}, + new double[][] {location.toNativeArray(), + avDiameterSub.toNativeArray()}, "sublayer"), new BedQualityResultValue(diameter, - new double[][] {location.toNativeArray(), avDiameterCap.toNativeArray()}, + new double[][] {location.toNativeArray(), + avDiameterCap.toNativeArray()}, "toplayer")}; } @@ -281,7 +290,8 @@ } return new BedQualityResultValue[] { new BedQualityResultValue(diameter, - new double[][] {location.toNativeArray(), avDiameter.toNativeArray()}, + new double[][] {location.toNativeArray(), + avDiameter.toNativeArray()}, "bedload")}; }