Mercurial > dive4elements > river
changeset 7516:7e95bdb72a40
issue1663: Fix. HistoricalDischargeFacet transmorphed to WaterlevelFacet when cloned.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Mon, 04 Nov 2013 15:15:13 +0100 |
parents | e4eb85fbcec4 |
children | 46f902aa6b54 |
files | artifacts/src/main/java/org/dive4elements/river/artifacts/model/HistoricalDischargeFacet.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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;