# HG changeset patch # User Andre Heinecke # Date 1426701557 -3600 # Node ID 060d732b32b6fd87c78dc923b31687ee47edff42 # Parent 62e0a818331d2507a106f10d48377ecac21df9d0 Remove obsolete class diff -r 62e0a818331d -r 060d732b32b6 artifacts/src/main/java/org/dive4elements/river/artifacts/model/StaticWKmsCacheKey.java --- 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 :