Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadDataCalculation.java @ 8170:363b82ecf29f
Do not handle the impossible.
author | "Tom Gottfried <tom@intevation.de>" |
---|---|
date | Mon, 01 Sep 2014 10:09:53 +0200 |
parents | 52504fc2cd58 |
children | f2bbe09e516e |
comparison
equal
deleted
inserted
replaced
8169:856701739443 | 8170:363b82ecf29f |
---|---|
279 new SedimentLoadDataResult.Fraction(gf.getDescription(), result, period); | 279 new SedimentLoadDataResult.Fraction(gf.getDescription(), result, period); |
280 | 280 |
281 sldr.addFraction(sldrf); | 281 sldr.addFraction(sldrf); |
282 } | 282 } |
283 | 283 |
284 // Do not give single year twice | |
285 if (min == max) break; | |
286 } | 284 } |
287 // TODO: Generate messages for missing fractions. | 285 // TODO: Generate messages for missing fractions. |
288 return new CalculationResult(sldr, this); | 286 return new CalculationResult(sldr, this); |
289 } | 287 } |
290 | 288 |