comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java @ 4498:04f144c42da5

Improve debugging in StaticFLYSArtifact
author Björn Ricks <bjoern.ricks@intevation.de>
date Wed, 14 Nov 2012 11:16:56 +0100
parents a2735a4bf75e
children
comparison
equal deleted inserted replaced
4497:a2735a4bf75e 4498:04f144c42da5
100 protected Element createOutputModes( 100 protected Element createOutputModes(
101 CallContext cc, 101 CallContext cc,
102 Document doc, 102 Document doc,
103 ElementCreator creator) 103 ElementCreator creator)
104 { 104 {
105 logger.debug("createOutputModes");
106
105 Element outs = ProtocolUtils.createArtNode( 107 Element outs = ProtocolUtils.createArtNode(
106 creator, "outputmodes", null, null); 108 creator, "outputmodes", null, null);
107 109
108 State state = getCurrentState(cc); 110 State state = getCurrentState(cc);
111
112 logger.debug("Current state is " + state.getID());
113
109 List<Output> list = state.getOutputs(); 114 List<Output> list = state.getOutputs();
110 115
111 if (list != null && list.size() > 0) { 116 if (list != null && list.size() > 0) {
112 List<Facet> fs = getFacets(state.getID()); 117 List<Facet> fs = getFacets(state.getID());
113 if (fs != null && fs.size() > 0) { 118 if (fs != null && fs.size() > 0) {

http://dive4elements.wald.intevation.org