Mercurial > dive4elements > river
diff flys-artifacts/src/main/java/de/intevation/flys/artifacts/QSectorArtifact.java @ 4497:a2735a4bf75e
Change facets member variable to private
Don't allow direct access to the facets member variable. Use the addFacets and
getFacets methods instead.
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Wed, 14 Nov 2012 11:15:57 +0100 |
parents | a66df8e8d3df |
children |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/QSectorArtifact.java Wed Nov 14 11:11:04 2012 +0100 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/QSectorArtifact.java Wed Nov 14 11:15:57 2012 +0100 @@ -120,7 +120,7 @@ state.computeInit(this, hash(), context, meta, fs); if (!fs.isEmpty()) { logger.debug("Facets to add in QSectorArtifact.initialize ."); - facets.put(getCurrentStateId(), fs); + addFacets(getCurrentStateId(), fs); } else { logger.debug("No facets to add in QSectorArtifact.initialize ("