diff artifacts/src/main/java/org/dive4elements/river/exports/fixings/FixDeltaWtGenerator.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 592df582e462
children 1cc7653ca84f 0a5239a1e46e
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/exports/fixings/FixDeltaWtGenerator.java	Thu Jan 18 20:10:59 2018 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/fixings/FixDeltaWtGenerator.java	Thu Jan 18 20:12:01 2018 +0100
@@ -166,7 +166,8 @@
             ) {
         String name = artifactFacet.getFacetName();
         log.debug("FixDeltaWtGenerator.doOut: " + name);
-        log.debug("Theme description is: " + artifactFacet.getFacetDescription());
+        log.debug("Theme description is: "
+            + artifactFacet.getFacetDescription());
 
         this.artifact = (D4EArtifact)artifactFacet.getArtifact();
 
@@ -291,14 +292,17 @@
         addAxisDataset(tsc, 0, visible);
 
         if (visible && theme.parseShowLineLabel()) {
-            List<XYTextAnnotation> textAnnos = new ArrayList<XYTextAnnotation>();
+            List<XYTextAnnotation> textAnnos =
+                new ArrayList<XYTextAnnotation>();
             XYTextAnnotation anno = new CollisionFreeXYTextAnnotation(
-                    "\u0394 W(t) [cm] " + (float)Math.round(qwd.qwd.getDeltaW() * 10000) / 10000,
+                    "\u0394 W(t) [cm] "
+                    + (float)Math.round(qwd.qwd.getDeltaW() * 10000) / 10000,
                     tsc.getXValue(0, 0),
                     qwd.qwd.getDeltaW());
             textAnnos.add(anno);
 
-            RiverAnnotation flysAnno = new RiverAnnotation(null, null, null, theme);
+            RiverAnnotation flysAnno =
+                new RiverAnnotation(null, null, null, theme);
             flysAnno.setTextAnnotations(textAnnos);
             addAnnotations(flysAnno);
         }
@@ -319,8 +323,12 @@
     }
 
 
-    protected void doQWDEventsOut(QWD qwd, String desc, ThemeDocument theme, boolean visible)
-    {
+    protected void doQWDEventsOut(
+        QWD qwd,
+        String desc,
+        ThemeDocument theme,
+        boolean visible
+    ) {
         TimeSeriesCollection tsc = new TimeSeriesCollection();
 
         TimeSeries   series = new StyledTimeSeries(desc, theme);
@@ -367,7 +375,8 @@
 
 
     /**
-     * @param annoIdxMap map of index in qwds to series/data item indices in tsc.
+     * @param annoIdxMap map of index in qwds to series/data item indices
+     *                   in tsc.
      */
     protected void doQWDTextAnnotations(Map<Integer, int[]> annoIdxMap,
             TimeSeriesCollection tsc, QWD qwd, ThemeDocument theme,
@@ -429,8 +438,10 @@
             return;
         }
         double[] value = (double[]) data;
-        StyledDomainMarker lower = new StyledDomainMarker((value[0] * -1), 0, theme);
-        StyledDomainMarker upper = new StyledDomainMarker(0, value[0], theme);
+        StyledDomainMarker lower =
+            new StyledDomainMarker((value[0] * -1), 0, theme);
+        StyledDomainMarker upper =
+            new StyledDomainMarker(0, value[0], theme);
 
         valueMarker.add(lower);
         valueMarker.add(upper);
@@ -463,7 +474,12 @@
 
 
     @Override
-    public void init(String outName, Document request, OutputStream out, CallContext context) {
+    public void init(
+        String outName,
+        Document request,
+        OutputStream out,
+        CallContext context
+    ) {
         super.init(outName, request, out, context);
 
         Double currentKm = FixChartGenerator.getCurrentKmFromRequest(request);

http://dive4elements.wald.intevation.org