Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.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 | 9fac337192c9 |
children | 861c47e0a8a0 |
comparison
equal
deleted
inserted
replaced
4496:d8992459b408 | 4497:a2735a4bf75e |
---|---|
72 | 72 |
73 WMSDBState state = (WMSDBState) getCurrentState(context); | 73 WMSDBState state = (WMSDBState) getCurrentState(context); |
74 state.computeInit(this, hash(), context, callMeta, fs); | 74 state.computeInit(this, hash(), context, callMeta, fs); |
75 | 75 |
76 if (!fs.isEmpty()) { | 76 if (!fs.isEmpty()) { |
77 facets.put(getCurrentStateId(), fs); | 77 addFacets(getCurrentStateId(), fs); |
78 } | 78 } |
79 } | 79 } |
80 | 80 |
81 | 81 |
82 @Override | 82 @Override |