[Dive4elements-commits] [PATCH] Historical discharge curve: Fixed NPE in setup

Wald Commits scm-commit at wald.intevation.org
Wed May 8 09:54:57 CEST 2013


# HG changeset patch
# User Sascha L. Teichmann <teichmann at intevation.de>
# Date 1367999691 -7200
# Node ID 46e85199b667ba78b70ef2bcaa948747589270c2
# Parent  c73977be1795f180c976d8fefe48d8346380077a
Historical discharge curve: Fixed NPE in setup.

diff -r c73977be1795 -r 46e85199b667 artifacts/src/main/java/org/dive4elements/river/artifacts/model/Calculation6.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/Calculation6.java	Tue May 07 19:53:48 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/Calculation6.java	Wed May 08 09:54:51 2013 +0200
@@ -70,7 +70,7 @@
             set(
                 mode.getMode(), 
                 new long [] { tr.getStart(), tr.getEnd()},
-                values,
+                vs,
                 officialGaugeNumber);
         }
     }


More information about the Dive4elements-commits mailing list