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

http://dive4elements.wald.intevation.org