Mercurial > dive4elements > river
diff artifacts/src/main/java/org/dive4elements/river/collections/AttributeParser.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 | b4faf69ad1d0 |
children | 0a5239a1e46e |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/collections/AttributeParser.java Fri Sep 05 12:54:58 2014 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/collections/AttributeParser.java Fri Sep 05 12:58:17 2014 +0200 @@ -43,7 +43,7 @@ "/art:attribute/art:outputs/art:output"; - private static Logger logger = Logger.getLogger(AttributeParser.class); + private static Logger log = Logger.getLogger(AttributeParser.class); protected Document attributeDocument; @@ -58,7 +58,7 @@ public void parse() { - logger.debug("AttributeParser.parse"); + log.debug("AttributeParser.parse"); attribute = new CollectionAttribute(); @@ -70,7 +70,7 @@ int num = outs != null ? outs.getLength() : 0; - logger.debug("Attribute has " + num + " outputs."); + log.debug("Attribute has " + num + " outputs."); for (int i = 0; i < num; i++) { Node out = outs.item(i); @@ -112,14 +112,14 @@ String name = ((Element)out).getAttribute("name"); if (name.length() == 0) { - logger.warn("No Output name specified. Cancel parsing!"); + log.warn("No Output name specified. Cancel parsing!"); return; } Output o = attribute.getOutput(name); if (o == null) { - logger.debug("Create new output: " + name); + log.debug("Create new output: " + name); o = new DefaultOutput(name, null, null); attribute.addOutput(name, o); @@ -146,7 +146,7 @@ Node settingsNode = getChild((Element)out, "settings"); if (settingsNode == null) { - logger.debug("No Settings found for Output '" + outname + "'"); + log.debug("No Settings found for Output '" + outname + "'"); return; } @@ -163,7 +163,7 @@ int num = themes.getLength(); - logger.debug("Output has " + num + " themes."); + log.debug("Output has " + num + " themes."); for (int i = 0; i < num; i++) { Element theme = (Element) themes.item(i);