diff artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/Builder.java @ 8856:5e38e2924c07 3.2.x

Fix code style.
author Tom Gottfried <tom@intevation.de>
date Thu, 18 Jan 2018 20:12:01 +0100
parents 7bc675e4e6e0
children 175f113ed939 0a5239a1e46e
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/Builder.java	Thu Jan 18 20:10:59 2018 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/Builder.java	Thu Jan 18 20:12:01 2018 +0100
@@ -218,7 +218,8 @@
 
                     String macroName = ((Element)node).getAttribute("name");
                     Node inMacroNode =
-                        findSelectNode(getMacroChildren(macroName), selectName);
+                        findSelectNode(
+                            getMacroChildren(macroName), selectName);
                     if (inMacroNode != null) {
                         return inMacroNode;
                     }
@@ -260,7 +261,8 @@
             String container = expand(current.getAttribute("container"));
 
             if (container.isEmpty()) {
-                log.warn("dc:container-context: no 'container' attribute found");
+                log.warn(
+                    "dc:container-context: no 'container' attribute found");
                 return;
             }
 
@@ -272,7 +274,8 @@
                 return;
             }
 
-            String [][] properties = extractProperties((Element)propertiesNode);
+            String [][] properties = extractProperties(
+                (Element)propertiesNode);
 
             if (properties.length == 0) {
                 log.warn("dc:properties: No properties defined.");
@@ -288,7 +291,8 @@
                 c = Arrays.asList((Object [])c);
             }
             if (!(c instanceof Collection)) {
-                log.warn("dc:container-context: container is not a collection.");
+                log.warn(
+                    "dc:container-context: container is not a collection.");
                 return;
             }
 

http://dive4elements.wald.intevation.org