Mercurial > dive4elements > river
comparison 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 |
comparison
equal
deleted
inserted
replaced
4496:d8992459b408 | 4497:a2735a4bf75e |
---|---|
118 | 118 |
119 DefaultState state = (DefaultState) getCurrentState(context); | 119 DefaultState state = (DefaultState) getCurrentState(context); |
120 state.computeInit(this, hash(), context, meta, fs); | 120 state.computeInit(this, hash(), context, meta, fs); |
121 if (!fs.isEmpty()) { | 121 if (!fs.isEmpty()) { |
122 logger.debug("Facets to add in QSectorArtifact.initialize ."); | 122 logger.debug("Facets to add in QSectorArtifact.initialize ."); |
123 facets.put(getCurrentStateId(), fs); | 123 addFacets(getCurrentStateId(), fs); |
124 } | 124 } |
125 else { | 125 else { |
126 logger.debug("No facets to add in QSectorArtifact.initialize (" | 126 logger.debug("No facets to add in QSectorArtifact.initialize (" |
127 + state.getID() + ")."); | 127 + state.getID() + ")."); |
128 } | 128 } |