Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/WINFOArtifact.java @ 8565:ea17665c5aad
Replace offensive comment by a more constructive note.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 17 Feb 2015 13:58:23 +0100 |
parents | c62837ba37f3 |
children | 93a31cfb18c0 |
comparison
equal
deleted
inserted
replaced
8564:d1640df656ee | 8565:ea17665c5aad |
---|---|
171 */ | 171 */ |
172 public CalculationResult getWaterlevelData() { | 172 public CalculationResult getWaterlevelData() { |
173 return this.getWaterlevelData(null); | 173 return this.getWaterlevelData(null); |
174 } | 174 } |
175 | 175 |
176 // THIS IS FREAKY BULLSHIT! Felix, why do you call the calculation directly???? | |
177 protected CalculationResult getDischargeLongitudinalSectionData() { | 176 protected CalculationResult getDischargeLongitudinalSectionData() { |
178 // XXX: THIS AN _EXPENSIVE_ CALCULATION! CACHE IT! | 177 // TODO: This caluclation should be cached as it is quite expensive. |
179 return new Calculation4(new Calculation4Access(this)).calculate(); | 178 return new Calculation4(new Calculation4Access(this)).calculate(); |
180 } | 179 } |
181 | 180 |
182 /** | 181 /** |
183 * Returns the data that is computed by a waterlevel computation. | 182 * Returns the data that is computed by a waterlevel computation. |