[PATCH 15 of 15] WOutProcessor: Reorder statements so that function-call-debug-msg comes first

Wald Commits scm-commit at wald.intevation.org
Fri Nov 1 18:12:05 CET 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1383320689 -3600
# Node ID 01d1ed168b2458ab537b511a9f8cab316625d34e
# Parent  25606eacd471859c6ab81386af02cea0141640f5
WOutProcessor: Reorder statements so that function-call-debug-msg comes first.

diff -r 25606eacd471 -r 01d1ed168b24 artifacts/src/main/java/org/dive4elements/river/exports/process/WOutProcessor.java
--- a/artifacts/src/main/java/org/dive4elements/river/exports/process/WOutProcessor.java	Fri Nov 01 16:41:54 2013 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/process/WOutProcessor.java	Fri Nov 01 16:44:49 2013 +0100
@@ -116,13 +116,14 @@
             boolean          visible,
             int              index)
     {
-        CallContext context = generator.getCallContext();
-        WKms wkms = (WKms) bundle.getData(context);
-
         logger.debug("doOut");
 
+        CallContext context = generator.getCallContext();
+
         XYSeries series = new StyledXYSeries(bundle.getFacetDescription(), theme);
 
+        WKms wkms = (WKms) bundle.getData(context);
+
         StyledSeriesBuilder.addPoints(series, wkms);
         generator.addAxisSeries(series, index, visible);
 


More information about the Dive4elements-commits mailing list