Mercurial > dive4elements > river
diff flys-artifacts/src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java @ 4504:d7e1aee9d51e
Merged.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 14 Nov 2012 12:37:57 +0100 |
parents | a2735a4bf75e |
children | c7133c1f8ede |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java Wed Nov 14 12:36:30 2012 +0100 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java Wed Nov 14 12:37:57 2012 +0100 @@ -141,7 +141,7 @@ StaticState state = (StaticState) getCurrentState(context); if (!fs.isEmpty()) { - facets.put(getCurrentStateId(), fs); + addFacets(getCurrentStateId(), fs); } } @@ -180,7 +180,7 @@ */ @Override public State getCurrentState(Object cc) { - final List<Facet> fs = facets.get(getCurrentStateId()); + final List<Facet> fs = getFacets(getCurrentStateId()); StaticState state = new StaticState(STATIC_STATE_NAME) { @Override