[PATCH 2 of 9] issue1512: Added comment, opened constructor as we will reuse this class

Wald Commits scm-commit at wald.intevation.org
Fri Oct 11 12:05:14 CEST 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1381479978 -7200
# Node ID 8cd48a2a380b3db5945bfef738dafc30f196872e
# Parent  b59a7cf1c3de77d4c89c9d7ef3a648dfcd70b164
issue1512: Added comment, opened constructor as we will reuse this class.

diff -r b59a7cf1c3de -r 8cd48a2a380b artifacts/src/main/java/org/dive4elements/river/artifacts/model/FlowVelocityData.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/FlowVelocityData.java	Fri Oct 11 10:25:34 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/FlowVelocityData.java	Fri Oct 11 10:26:18 2013 +0200
@@ -18,12 +18,13 @@
     private TDoubleArrayList km;
     private TDoubleArrayList vMain;
     private TDoubleArrayList vTotal;
+    /** Also called 'shearstress'. */
     private TDoubleArrayList tauMain;
     private TDoubleArrayList q;
     private String zone;
     private String type;
 
-    protected FlowVelocityData() {
+    public FlowVelocityData() {
         this.km      = new TDoubleArrayList();
         this.vMain   = new TDoubleArrayList();
         this.vTotal  = new TDoubleArrayList();


More information about the Dive4elements-commits mailing list