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:
parent
0e514bd391
commit
9eee85909b
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user