1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-25 17:28:51 -05:00

* 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

View File

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