comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java @ 1771:c62ff9e72cea

Restore mapping of state id to facets (revert, rev 3083 and 3088). flys-artifacts/trunk@3092 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 27 Oct 2011 09:32:05 +0000
parents 5d8b3880a553
children f6a190f6aaff
comparison
equal deleted inserted replaced
1770:e8a98eee816d 1771:c62ff9e72cea
74 List<Facet> fs = new ArrayList<Facet>(); 74 List<Facet> fs = new ArrayList<Facet>();
75 DefaultState state = (DefaultState) getCurrentState(context); 75 DefaultState state = (DefaultState) getCurrentState(context);
76 state.computeInit(this, hash(), context, meta, fs); 76 state.computeInit(this, hash(), context, meta, fs);
77 if (!fs.isEmpty()) { 77 if (!fs.isEmpty()) {
78 logger.debug("Facets to add in WaterlevelArtifact.initialize ."); 78 logger.debug("Facets to add in WaterlevelArtifact.initialize .");
79 facets.addAll(fs); 79 facets.put(getCurrentStateId(), fs);
80 } 80 }
81 else { 81 else {
82 logger.debug("No facets to add in WaterlevelArtifact.initialize (" 82 logger.debug("No facets to add in WaterlevelArtifact.initialize ("
83 + state.getID() + ")."); 83 + state.getID() + ").");
84 } 84 }

http://dive4elements.wald.intevation.org