Mercurial > dive4elements > framework
changeset 449:708de1779232 2.9.7
Add debug output for StateEngine
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Wed, 12 Dec 2012 16:06:55 +0100 |
parents | f2eab30cbc9a |
children | 364e3ea0ae11 |
files | artifact-database/src/main/java/de/intevation/artifactdatabase/state/StateEngine.java |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/state/StateEngine.java Wed Dec 12 16:06:08 2012 +0100 +++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/state/StateEngine.java Wed Dec 12 16:06:55 2012 +0100 @@ -140,15 +140,18 @@ new HashMap<String, List<String>>(); // For all states that the artifact had seen, add outputs facets. + logger.debug("Searching in " + aStates); for (String stateId: aStates) { State state = allStates.get(stateId); if (state == null) { + logger.debug("No state found for id " + stateId); continue; } for (Output output: state.getOutputs()) { List<Facet> outFacets = output.getFacets(); + logger.debug("Facets for output " + output.getName() + " :" + outFacets); List<String> oldFacets = compatibilityMatrix.get(output.getName());