Mercurial > dive4elements > river
diff flys-artifacts/src/main/java/de/intevation/flys/collections/OutputParser.java @ 2094:22732713c54d
Made classes to merge Collection Outs more verbose for better debugging.
flys-artifacts/trunk@3640 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 10 Jan 2012 11:44:46 +0000 |
parents | 2fe270661b20 |
children | 1203e12c97a6 |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/collections/OutputParser.java Mon Jan 09 08:27:15 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/collections/OutputParser.java Tue Jan 10 11:44:46 2012 +0000 @@ -65,8 +65,11 @@ List<Output> outList = flys.getOutputs(context); + logger.debug(" has " + outList.size() + " Outputs."); + for (Output out: outList) { String name = out.getName(); + logger.debug("Process Output '" + name + "'"); Output o = outs.get(name); int pos = 1; @@ -120,6 +123,8 @@ { List<Facet> newFacets = new ArrayList<Facet>(old.size()); + logger.debug("There are " + old.size() + " Facets for this Output."); + for (Facet f: old) { newFacets.add(new ManagedFacetAdapter(f, uuid, pos++, 1, 1)); }