Mercurial > dive4elements > river
changeset 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 | d1640df656ee |
children | fe7e9da6312a |
files | artifacts/src/main/java/org/dive4elements/river/artifacts/WINFOArtifact.java |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/WINFOArtifact.java Mon Feb 16 18:03:09 2015 +0100 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/WINFOArtifact.java Tue Feb 17 13:58:23 2015 +0100 @@ -173,9 +173,8 @@ return this.getWaterlevelData(null); } - // THIS IS FREAKY BULLSHIT! Felix, why do you call the calculation directly???? protected CalculationResult getDischargeLongitudinalSectionData() { - // XXX: THIS AN _EXPENSIVE_ CALCULATION! CACHE IT! + // TODO: This caluclation should be cached as it is quite expensive. return new Calculation4(new Calculation4Access(this)).calculate(); }