[PATCH] issue1688: In flow velocity, discharges are now initially inactive
Wald Commits
scm-commit at wald.intevation.org
Fri Dec 6 15:36:29 CET 2013
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1386340607 -3600
# Node ID e0219f4079a810945a8e8aa0f6a0e101dec71099
# Parent a6363e080e2c43bf34aa068ec68c4a5171cb3e13
issue1688: In flow velocity, discharges are now initially inactive.
diff -r a6363e080e2c -r e0219f4079a8 artifacts/src/main/java/org/dive4elements/river/artifacts/states/FlowVelocityState.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/states/FlowVelocityState.java Fri Dec 06 14:51:48 2013 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/states/FlowVelocityState.java Fri Dec 06 15:36:47 2013 +0100
@@ -286,13 +286,14 @@
String name = facet.getName();
if (name.equals(FLOW_VELOCITY_MAINCHANNEL_FILTERED) ||
name.equals(FLOW_VELOCITY_TAU_FILTERED) ||
- name.equals(FLOW_VELOCITY_DISCHARGE) ||
name.equals(FLOW_VELOCITY_TOTALCHANNEL_FILTERED)) {
return Boolean.TRUE;
}
else if (name.equals(FLOW_VELOCITY_MAINCHANNEL) ||
name.equals(FLOW_VELOCITY_TAU) ||
- name.equals(FLOW_VELOCITY_TOTALCHANNEL)) {
+ name.equals(FLOW_VELOCITY_TOTALCHANNEL) ||
+ name.equals(FLOW_VELOCITY_DISCHARGE)
+ ) {
return Boolean.FALSE;
}
else {
More information about the Dive4elements-commits
mailing list