comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/sq/SQCurveFacet.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 5b2126d21c2e
children b7e82468299a
comparison
equal deleted inserted replaced
7377:ad2fdc34910a 7378:aff189df381b
104 104
105 @Override 105 @Override
106 public SQCurveFacet deepCopy() { 106 public SQCurveFacet deepCopy() {
107 SQCurveFacet copy = new SQCurveFacet(); 107 SQCurveFacet copy = new SQCurveFacet();
108 copy.set(this); 108 copy.set(this);
109 copy.type = type;
110 copy.hash = hash;
111 copy.stateId = stateId;
112 copy.fractionIdx = fractionIdx;
109 113
110 return copy; 114 return copy;
111 } 115 }
112 116
113 117

http://dive4elements.wald.intevation.org