comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/HYKArtifact.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 4aadcb90dc77
children
comparison
equal deleted inserted replaced
4496:d8992459b408 4497:a2735a4bf75e
111 111
112 DefaultState state = (DefaultState) getCurrentState(context); 112 DefaultState state = (DefaultState) getCurrentState(context);
113 state.computeInit(this, hash(), context, callMeta, fs); 113 state.computeInit(this, hash(), context, callMeta, fs);
114 if (!fs.isEmpty()) { 114 if (!fs.isEmpty()) {
115 logger.debug("Facets to add in HYKArtifact.initialize ."); 115 logger.debug("Facets to add in HYKArtifact.initialize .");
116 facets.put(getCurrentStateId(), fs); 116 addFacets(getCurrentStateId(), fs);
117 } 117 }
118 else { 118 else {
119 logger.debug("No facets to add in HYKArtifact.initialize (" 119 logger.debug("No facets to add in HYKArtifact.initialize ("
120 + state.getID() + ")."); 120 + state.getID() + ").");
121 } 121 }

http://dive4elements.wald.intevation.org