Mercurial > dive4elements > river
changeset 8590:060d732b32b6
Remove obsolete class
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Wed, 18 Mar 2015 18:59:17 +0100 |
parents | 62e0a818331d |
children | 9fa5c66073e7 |
files | artifacts/src/main/java/org/dive4elements/river/artifacts/model/StaticWKmsCacheKey.java |
diffstat | 1 files changed, 0 insertions(+), 41 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/StaticWKmsCacheKey.java Wed Mar 18 18:48:26 2015 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,41 +0,0 @@ -/* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde - * Software engineering by Intevation GmbH - * - * This file is Free Software under the GNU AGPL (>=v3) - * and comes with ABSOLUTELY NO WARRANTY! Check out the - * documentation coming with Dive4Elements River for details. - */ - -package org.dive4elements.river.artifacts.model; - -import java.io.Serializable; - -/** - * Caching-Key object for 'static' wst- data. - */ -public final class StaticWKmsCacheKey -implements Serializable -{ - public static final String CACHE_NAME = "wst-value-table-static"; - - private int column; - private int wst_id; - - public StaticWKmsCacheKey(int column, int wst_id) { - this.wst_id = wst_id; - this.column = column; - } - - public int hashCode() { - return (wst_id << 8) | column; - } - - public boolean equals(Object other) { - if (!(other instanceof StaticWKmsCacheKey)) { - return false; - } - StaticWKmsCacheKey o = (StaticWKmsCacheKey) other; - return wst_id == o.wst_id && this.column == o.column; - } -} -// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :