diff artifacts/src/main/java/org/dive4elements/river/artifacts/model/HYKFacet.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 e4606eae8ea5
children 0a5239a1e46e
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/HYKFacet.java	Thu Jan 18 20:10:59 2018 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/HYKFacet.java	Thu Jan 18 20:12:01 2018 +0100
@@ -52,12 +52,14 @@
 
         List<DataProvider> providers = context.getDataProvider(dataKey);
         if (providers.size() < 1) {
-            log.warn("Could not find Cross-Section data provider to get master cs km.");
+            log.warn("Could not find Cross-Section data provider "
+                + "to get master cs km.");
             return null;
         }
 
-        FastCrossSectionLine crossSection = (FastCrossSectionLine) providers.get(0)
-            .provideData(dataKey, null, context);
+        FastCrossSectionLine crossSection =
+            (FastCrossSectionLine)providers.get(0).provideData(
+                dataKey, null, context);
 
         if(crossSection == null) {
             log.debug("getData: crossSection is null");

http://dive4elements.wald.intevation.org