comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java @ 3124:555ed85af32e

fix issue680; hack. flys-artifacts/trunk@4725 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 20 Jun 2012 12:46:31 +0000
parents 0657e7966c87
children 65bfb6faa538
comparison
equal deleted inserted replaced
3123:edf629d43f05 3124:555ed85af32e
91 "benutzerdefiniert [korrigiert]"); 91 "benutzerdefiniert [korrigiert]");
92 92
93 Facet c = new WaterlevelFacet( 93 Facet c = new WaterlevelFacet(
94 i, DISCHARGE_LONGITUDINAL_C, nameC); 94 i, DISCHARGE_LONGITUDINAL_C, nameC);
95 95
96 Facet r = new CrossSectionWaterLineFacet(i, nameC); 96 // Here, avoid index clash with Facet "s" above and
97 // signal the WINFO later that we want to access Cs.
98 Facet r = new CrossSectionWaterLineFacet(i + 1, nameC);
97 99
98 facets.add(c); 100 facets.add(c);
99 facets.add(r); 101 facets.add(r);
100 } 102 }
101 } 103 }

http://dive4elements.wald.intevation.org