[PATCH] issue1663: Fix. HistoricalDischargeFacet transmorphed to WaterlevelFacet when cloned
Wald Commits
scm-commit at wald.intevation.org
Mon Nov 4 15:16:44 CET 2013
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1383574513 -3600
# Node ID 7e95bdb72a40bfa5eca6efafda2e7fe83ca55a31
# Parent e4eb85fbcec4fc20d5af584db946ef2dc80654be
issue1663: Fix. HistoricalDischargeFacet transmorphed to WaterlevelFacet when cloned.
diff -r e4eb85fbcec4 -r 7e95bdb72a40 artifacts/src/main/java/org/dive4elements/river/artifacts/model/HistoricalDischargeFacet.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/HistoricalDischargeFacet.java Mon Nov 04 11:26:02 2013 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/HistoricalDischargeFacet.java Mon Nov 04 15:15:13 2013 +0100
@@ -52,7 +52,7 @@
@Override
public Facet deepCopy() {
- WaterlevelFacet copy = new WaterlevelFacet();
+ HistoricalDischargeFacet copy = new HistoricalDischargeFacet();
copy.set(this);
copy.type = type;
copy.hash = hash;
More information about the Dive4elements-commits
mailing list