Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/sq/SQOutlierCurveFacet.java @ 7378:aff189df381b
(issue1474) Fix copying of SQ* Facets
The main thing causing confusion was that the fractionIdx
was not copied. But the other DataFacet specific parts were
also lost.
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Thu, 17 Oct 2013 18:37:56 +0200 |
parents | af13ceeba52a |
children | 5acaf44062b5 |
comparison
equal
deleted
inserted
replaced
7377:ad2fdc34910a | 7378:aff189df381b |
---|---|
102 | 102 |
103 @Override | 103 @Override |
104 public Facet deepCopy() { | 104 public Facet deepCopy() { |
105 SQOutlierCurveFacet copy = new SQOutlierCurveFacet(); | 105 SQOutlierCurveFacet copy = new SQOutlierCurveFacet(); |
106 copy.set(this); | 106 copy.set(this); |
107 copy.type = type; | |
108 copy.hash = hash; | |
109 copy.stateId = stateId; | |
110 copy.fractionIdx = fractionIdx; | |
111 | |
107 return copy; | 112 return copy; |
108 } | 113 } |
109 } | 114 } |
110 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 115 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |