Mercurial > dive4elements > river
diff artifacts/src/main/java/org/dive4elements/river/collections/OutputParser.java @ 8202:e4606eae8ea5
sed src/**/*.java 's/logger/log/g'
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Fri, 05 Sep 2014 12:58:17 +0200 |
parents | af13ceeba52a |
children | 5e38e2924c07 |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/collections/OutputParser.java Fri Sep 05 12:54:58 2014 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/collections/OutputParser.java Fri Sep 05 12:58:17 2014 +0200 @@ -38,7 +38,7 @@ public static final String XPATH_ARTIFACT_OUTPUTMODES = "/art:result/art:outputmodes/art:output"; - private static Logger logger = Logger.getLogger(OutputParser.class); + private static Logger log = Logger.getLogger(OutputParser.class); protected ArtifactDatabase db; protected CallMeta meta; @@ -71,17 +71,17 @@ public void parse(String uuid) throws ArtifactDatabaseException { - logger.debug("OutputParser.parse: " + uuid); + log.debug("OutputParser.parse: " + uuid); D4EArtifact flys = (D4EArtifact) db.getRawArtifact(uuid); List<Output> outList = flys.getOutputs(context); - logger.debug(" has " + outList.size() + " Outputs."); + log.debug(" has " + outList.size() + " Outputs."); for (Output out: outList) { String name = out.getName(); - logger.debug("Process Output '" + name + "'"); + log.debug("Process Output '" + name + "'"); Output o = outs.get(name); int pos = 1; @@ -96,7 +96,7 @@ outs.put(name, o); } else { - logger.debug("OutputParser.parse: Use 'old' Output"); + log.debug("OutputParser.parse: Use 'old' Output"); pos = o.getFacets().size() + 1; } @@ -135,7 +135,7 @@ { List<Facet> newFacets = new ArrayList<Facet>(old.size()); - logger.debug("There are " + old.size() + " Facets for this Output."); + log.debug("There are " + old.size() + " Facets for this Output."); for (Facet f: old) { newFacets.add(new ManagedFacetAdapter(f, uuid, pos++, 1, 1));