Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/util/BedHeightInfo.java @ 9573:b9c87bbff6a4
mean bed height -> mean bed LEVEL
author | gernotbelger |
---|---|
date | Tue, 06 Nov 2018 10:56:22 +0100 |
parents | 6a1580b38e7d |
children |
comparison
equal
deleted
inserted
replaced
9572:0d0c8fd1b8c8 | 9573:b9c87bbff6a4 |
---|---|
46 } | 46 } |
47 | 47 |
48 private BedHeightInfo(final BedHeight bedHeight) { | 48 private BedHeightInfo(final BedHeight bedHeight) { |
49 final Integer bhYear = bedHeight.getYear(); | 49 final Integer bhYear = bedHeight.getYear(); |
50 if (bhYear == null) { | 50 if (bhYear == null) { |
51 // REMARK: this should never happen, as we do not allow the user to select bed heights without a year information | 51 // REMARK: this should never happen, as we do not allow the user to select bed levels without a year information |
52 throw new IllegalArgumentException("bedHeight has no year"); | 52 throw new IllegalArgumentException("bedHeight has no year"); |
53 } | 53 } |
54 | 54 |
55 this.year = bhYear; | 55 this.year = bhYear; |
56 this.description = bedHeight.getDescription(); | 56 this.description = bedHeight.getDescription(); |