* fix long-term cache issues... int overflow... WTF!?!?

This commit is contained in:
Reinhard Pointner 2013-11-12 12:29:24 +00:00
parent 0e514bd391
commit 9eee85909b
1 changed files with 3 additions and 3 deletions

View File

@ -12,9 +12,9 @@ import net.sf.ehcache.Element;
public abstract class AbstractCachedResource<R, T extends Serializable> {
public static final long ONE_MONTH = 30 * 24 * 60 * 60 * 1000;
public static final long ONE_WEEK = 7 * 24 * 60 * 60 * 1000;
public static final long ONE_DAY = 24 * 60 * 60 * 1000;
public static final long ONE_MONTH = 30 * 24 * 60 * 60 * 1000L;
public static final long ONE_WEEK = 7 * 24 * 60 * 60 * 1000L;
public static final long ONE_DAY = 24 * 60 * 60 * 1000L;
private String resource;
private Class<T> type;