diff artifacts/src/main/java/org/dive4elements/river/exports/OutputHelper.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 994995baa32b
children 0a5239a1e46e
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/exports/OutputHelper.java	Thu Jan 18 20:10:59 2018 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/OutputHelper.java	Thu Jan 18 20:12:01 2018 +0100
@@ -57,7 +57,10 @@
         this.masterArtifact = masterArtifact;
     }
 
-    private static List<ContextInjector> getContextInjectors(CallContext context, String out) {
+    private static List<ContextInjector> getContextInjectors(
+        CallContext context,
+        String out
+    ) {
         RiverContext flysContext = context instanceof RiverContext
             ? (RiverContext)context
             : (RiverContext)context.globalContext();
@@ -189,7 +192,8 @@
         Document attr = db.getCollectionItemAttribute(identifier, uuid, meta);
 
         if (attr == null) {
-            attr = initItemAttribute(uuid, facet, pattern, index, outName, context);
+            attr = initItemAttribute(
+                uuid, facet, pattern, index, outName, context);
 
             if (attr == null) {
                 return null;
@@ -227,7 +231,8 @@
             vars);
 
         if (theme == null) {
-            log.warn("Could not find the theme in attribute of: " + facet + " " + uuid);
+            log.warn("Could not find the theme in attribute of: "
+                + facet + " " + uuid);
 
             Theme t = getThemeForFacet(
                 uuid, facet, pattern, index, outName, context);
@@ -364,11 +369,14 @@
                 Artifact artifact  = getArtifact(uuid, context);
                 D4EArtifact flys  = (D4EArtifact) artifact;
                 Facet face = flys.getNativeFacet(theme, outname);
-                log.debug("Looking for Native Facet for theme: " + theme + " and out: " +
-                        outname + " in artifact: " + uuid +
-                        face == null ? " Found. " : " Not Found. ");
+                log.debug("Looking for Native Facet for theme: "
+                    + theme + " and out: "
+                    + outname + " in artifact: " + uuid
+                    + face == null ? " Found. " : " Not Found. ");
                 if (face == null) {
-                    log.warn("Theme " + theme.getName() + " for " + outname + " has no facets!. Removing theme.");
+                    log.warn("Theme " + theme.getName()
+                        + " for " + outname
+                        + " has no facets!. Removing theme.");
                     themeList.remove(i);
                     i--;
                     continue;
@@ -437,7 +445,8 @@
             log.debug("OutputHelper.initItemAttribute");
         }
 
-        Theme t = getThemeForFacet(uuid, facet, pattern, index, outName, context);
+        Theme t = getThemeForFacet(
+            uuid, facet, pattern, index, outName, context);
 
         if (t == null) {
             log.info("Could not find theme for facet. Cancel initialization.");

http://dive4elements.wald.intevation.org