comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/ManualPointsArtifact.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 6153c50f78cf
children
comparison
equal deleted inserted replaced
4496:d8992459b408 4497:a2735a4bf75e
93 93
94 DefaultState state = (DefaultState) getCurrentState(context); 94 DefaultState state = (DefaultState) getCurrentState(context);
95 state.computeInit(this, hash(), context, meta, fs); 95 state.computeInit(this, hash(), context, meta, fs);
96 if (!fs.isEmpty()) { 96 if (!fs.isEmpty()) {
97 logger.debug("Facets to add in ManualPointsArtifact.initialize ."); 97 logger.debug("Facets to add in ManualPointsArtifact.initialize .");
98 facets.put(getCurrentStateId(), fs); 98 addFacets(getCurrentStateId(), fs);
99 } 99 }
100 else { 100 else {
101 logger.debug("No facets to add in ManualPointsArtifact.initialize (" 101 logger.debug("No facets to add in ManualPointsArtifact.initialize ("
102 + state.getID() + ")."); 102 + state.getID() + ").");
103 } 103 }

http://dive4elements.wald.intevation.org