Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.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 | b2730e31ff5b |
children | a8910c1c82fb |
comparison
equal
deleted
inserted
replaced
1770:e8a98eee816d | 1771:c62ff9e72cea |
---|---|
75 | 75 |
76 DefaultState state = (DefaultState) getCurrentState(context); | 76 DefaultState state = (DefaultState) getCurrentState(context); |
77 state.computeInit(this, hash(), context, callMeta, fs); | 77 state.computeInit(this, hash(), context, callMeta, fs); |
78 | 78 |
79 if (!fs.isEmpty()) { | 79 if (!fs.isEmpty()) { |
80 facets.addAll(fs); | 80 facets.put(getCurrentStateId(), fs); |
81 } | 81 } |
82 } | 82 } |
83 catch (NumberFormatException nfe) { | 83 catch (NumberFormatException nfe) { |
84 logger.error("Could not create Artifact: " + nfe.getMessage()); | 84 logger.error("Could not create Artifact: " + nfe.getMessage()); |
85 throw new IllegalArgumentException("No river id given."); | 85 throw new IllegalArgumentException("No river id given."); |