Mercurial > dive4elements > river
diff artifacts/src/main/java/org/dive4elements/river/artifacts/model/WKmsFactory.java @ 8569:26c7aa469bfc
Readd StaticWQKmsCacheKey and use it again.
This class was removed under the assumption that it only
wrapped the Cache Key but the WQKmsfactory also uses this.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Thu, 26 Feb 2015 15:52:04 +0100 |
parents | 532da345d4a7 |
children | 5e38e2924c07 |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/WKmsFactory.java Thu Feb 26 15:37:03 2015 +0100 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/WKmsFactory.java Thu Feb 26 15:52:04 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("wst-wq-value-table-static"); + Cache cache = CacheFactory.getCache(StaticWQKmsCacheKey.CACHE_NAME); String cacheKey = Integer.toString(column) + ":" + Integer.toString(wst_id);