Mercurial > dive4elements > river
changeset 9302:b40fbca03024
Using super constructor
author | gernotbelger |
---|---|
date | Wed, 25 Jul 2018 16:14:38 +0200 |
parents | 0b1a51b0c42e |
children | 1970bec9836a |
files | artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flood_duration/FloodDurationMainValuesWFacet.java |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flood_duration/FloodDurationMainValuesWFacet.java Wed Jul 25 11:33:48 2018 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flood_duration/FloodDurationMainValuesWFacet.java Wed Jul 25 16:14:38 2018 +0200 @@ -33,9 +33,7 @@ /** Trivial Constructor. */ public FloodDurationMainValuesWFacet(final String name, final String description) { - this.description = description; - this.name = name; - this.index = 0; + super(0, name, description); } /** @@ -60,7 +58,6 @@ return new RiverAnnotation(this.description, annotations); } - /** * Create a deep copy of this Facet. * @return a deep copy. @@ -72,4 +69,3 @@ return copy; } } -