[PATCH 35 of 45] Replace offensive comment by a more constructive note
Wald Commits
scm-commit at wald.intevation.org
Tue Mar 10 17:06:03 CET 2015
# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1424177903 -3600
# Node ID ea17665c5aad714c16be14d7666de9763547af4f
# Parent d1640df656eedaf571b0f10d8bd249a8afe85a50
Replace offensive comment by a more constructive note.
diff -r d1640df656ee -r ea17665c5aad artifacts/src/main/java/org/dive4elements/river/artifacts/WINFOArtifact.java
--- 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();
}
More information about the Dive4Elements-commits
mailing list