Mercurial > dive4elements > river
diff artifacts/src/main/java/org/dive4elements/river/artifacts/model/sq/SQMeasurementFacet.java @ 7381:b7e82468299a
(issue1474) Fix deepCopy signatures and actually copy the facet index now
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Fri, 18 Oct 2013 15:44:01 +0200 |
parents | af13ceeba52a |
children | 5acaf44062b5 |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/sq/SQMeasurementFacet.java Fri Oct 18 15:30:44 2013 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/sq/SQMeasurementFacet.java Fri Oct 18 15:44:01 2013 +0200 @@ -10,6 +10,8 @@ import org.apache.log4j.Logger; +import org.dive4elements.artifactdatabase.state.Facet; + import org.dive4elements.artifacts.Artifact; import org.dive4elements.artifacts.CallContext; @@ -71,9 +73,13 @@ @Override - public SQMeasurementFacet deepCopy() { + public Facet deepCopy() { SQMeasurementFacet copy = new SQMeasurementFacet(); copy.set(this); + copy.type = type; + copy.hash = hash; + copy.stateId = stateId; + copy.fractionIdx = fractionIdx; return copy; }