diff artifacts/src/main/java/org/dive4elements/river/artifacts/model/sq/SQOutlierFacet.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/SQOutlierFacet.java	Fri Oct 18 15:30:44 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/sq/SQOutlierFacet.java	Fri Oct 18 15:44:01 2013 +0200
@@ -8,6 +8,8 @@
 
 package org.dive4elements.river.artifacts.model.sq;
 
+import org.dive4elements.artifactdatabase.state.Facet;
+
 import org.dive4elements.artifacts.Artifact;
 import org.dive4elements.artifacts.CallContext;
 
@@ -95,9 +97,13 @@
 
 
     @Override
-    public SQOutlierFacet deepCopy() {
+    public Facet deepCopy() {
         SQOutlierFacet copy = new SQOutlierFacet();
         copy.set(this);
+        copy.type    = type;
+        copy.hash    = hash;
+        copy.stateId = stateId;
+        copy.fractionIdx = fractionIdx;
 
         return copy;
     }

http://dive4elements.wald.intevation.org