[PATCH 20 of 45] (issue1754) Fix wst static cache name

Wald Commits scm-commit at wald.intevation.org
Tue Mar 10 17:05:48 CET 2015


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1424096931 -3600
# Node ID 532da345d4a7ae13720dd418610c67eb69901eed
# Parent  1cff4c98df7658a8a030658f6300c7d46b375ef9
(issue1754) Fix wst static cache name.

    You should not base your implementation on a broken one. (see next commit)

diff -r 1cff4c98df76 -r 532da345d4a7 artifacts/src/main/java/org/dive4elements/river/artifacts/model/WKmsFactory.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/WKmsFactory.java	Mon Feb 16 15:28:22 2015 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/WKmsFactory.java	Mon Feb 16 15:28:51 2015 +0100
@@ -89,7 +89,7 @@
 
     public static WKms getWKms(int column, int wst_id, double from, double to) {
         log.debug("WKmsFactory.getWKms");
-        Cache cache = CacheFactory.getCache("waterlevels-static");
+        Cache cache = CacheFactory.getCache("wst-wq-value-table-static");
 
         String cacheKey = Integer.toString(column) + ":" + Integer.toString(wst_id);
 


More information about the Dive4Elements-commits mailing list