[PATCH 1 of 4] Using super constructor
Wald Commits
scm-commit at wald.intevation.org
Wed Jul 25 16:20:39 CEST 2018
# HG changeset patch
# User gernotbelger
# Date 1532528078 -7200
# Node ID b40fbca03024c0286edc7197ea96bad939a479d2
# Parent 0b1a51b0c42eb77cc31c12766d885b8cfb4fe282
Using super constructor
diff -r 0b1a51b0c42e -r b40fbca03024 artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flood_duration/FloodDurationMainValuesWFacet.java
--- 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;
}
}
-
More information about the Dive4Elements-commits
mailing list