changeset 7510:01d1ed168b24

WOutProcessor: Reorder statements so that function-call-debug-msg comes first.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 01 Nov 2013 16:44:49 +0100
parents 25606eacd471
children e97867879a45
files artifacts/src/main/java/org/dive4elements/river/exports/process/SedimentLoadTAProcessor.java artifacts/src/main/java/org/dive4elements/river/exports/process/WOutProcessor.java
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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);
 

http://dive4elements.wald.intevation.org