Mercurial > dive4elements > gnv-client
changeset 653:987584605a60
Changed insufficient key to store results used for chart generation in cache (issue189).
gnv-artifacts/trunk@745 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 08 Mar 2010 10:04:38 +0000 |
parents | 078ba6799bd2 |
children | a6081d76fa1c |
files | gnv-artifacts/ChangeLog gnv-artifacts/src/main/java/de/intevation/gnv/state/profile/verticalcrosssection/VerticalCrossSectionOutputState.java |
diffstat | 2 files changed, 10 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gnv-artifacts/ChangeLog Sat Mar 06 08:25:14 2010 +0000 +++ b/gnv-artifacts/ChangeLog Mon Mar 08 10:04:38 2010 +0000 @@ -1,3 +1,12 @@ +2010-03-08 Ingo Weinzierl <ingo.weinzierl@intevation.de> + + Issue189 + + * src/main/java/de/intevation/gnv/state/profile/verticalcrosssection/VerticalCrossSectionOutputState.java: + Changed insufficient key to store results for chart generation in cache. + Use 'getHash()' method for this now, which have been implemented while + refactoring the cache mechanism. + 2010-03-06 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java,
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/state/profile/verticalcrosssection/VerticalCrossSectionOutputState.java Sat Mar 06 08:25:14 2010 +0000 +++ b/gnv-artifacts/src/main/java/de/intevation/gnv/state/profile/verticalcrosssection/VerticalCrossSectionOutputState.java Mon Mar 08 10:04:38 2010 +0000 @@ -172,7 +172,7 @@ @Override protected Object getChartResult(String uuid, CallContext callContext) { log.debug("VerticalCrossSectionOutputState.getChartResult"); - String key = uuid + super.getID(); + String key = getHash(); CacheFactory factory = CacheFactory.getInstance(); if (factory.isInitialized()) {