From 9eee85909b5992ea501397c203d000cabf079b2e Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Tue, 12 Nov 2013 12:29:24 +0000 Subject: [PATCH] * fix long-term cache issues... int overflow... WTF!?!? --- .../net/sourceforge/filebot/web/AbstractCachedResource.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/net/sourceforge/filebot/web/AbstractCachedResource.java b/source/net/sourceforge/filebot/web/AbstractCachedResource.java index 43d93165..80bfcdb2 100644 --- a/source/net/sourceforge/filebot/web/AbstractCachedResource.java +++ b/source/net/sourceforge/filebot/web/AbstractCachedResource.java @@ -12,9 +12,9 @@ import net.sf.ehcache.Element; public abstract class AbstractCachedResource { - 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 type;