Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedDiffCalculation.java @ 7370:4eccd72595ee
White space cosmetics, added debug output.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 17 Oct 2013 07:48:51 +0200 |
parents | a56fe3bc6700 |
children | 9513d1af7d58 |
comparison
equal
deleted
inserted
replaced
7369:6bc884bab32e | 7370:4eccd72595ee |
---|---|
124 Date end = ((BedHeightEpoch)bh2).getEnd(); | 124 Date end = ((BedHeightEpoch)bh2).getEnd(); |
125 return new BedDiffEpochResult(kms, diffRes, heights1, heights2, start, end); | 125 return new BedDiffEpochResult(kms, diffRes, heights1, heights2, start, end); |
126 } | 126 } |
127 | 127 |
128 private BedDiffYearResult calculateYearDifference(BedHeight[] pair) { | 128 private BedDiffYearResult calculateYearDifference(BedHeight[] pair) { |
129 | 129 logger.debug("BedDiffCalculation.calculateYearDifference"); |
130 BedHeightSingle s1 = (BedHeightSingle)pair[0]; | 130 BedHeightSingle s1 = (BedHeightSingle) pair[0]; |
131 BedHeightSingle s2 = (BedHeightSingle)pair[1]; | 131 BedHeightSingle s2 = (BedHeightSingle) pair[1]; |
132 | 132 |
133 TDoubleArrayList stations = s1.getStations(); | 133 TDoubleArrayList stations = s1.getStations(); |
134 int size = stations.size(); | 134 int size = stations.size(); |
135 | 135 |
136 TDoubleArrayList diffRes = new TDoubleArrayList(size); | 136 TDoubleArrayList diffRes = new TDoubleArrayList(size); |