Commits

ltor...@81dbac14-341a-0410-aa85-cbcd92e6f43e  committed ad6dd52

using long value for int time parameter

  • Participants
  • Parent commits edfb3af

Comments (0)

Files changed (1)

File src/java/com/opensymphony/oscache/web/filter/CacheFilter.java

                     log.info("<cache>: New cache entry, cache stale or cache scope flushed for " + key);
                 }
 
-                CacheHttpServletResponseWrapper cacheResponse = new CacheHttpServletResponseWrapper((HttpServletResponse) response, fragmentRequest, time * 1000, lastModified, expires);
+                CacheHttpServletResponseWrapper cacheResponse = new CacheHttpServletResponseWrapper((HttpServletResponse) response, fragmentRequest, time * 1000L, lastModified, expires);
                 chain.doFilter(request, cacheResponse);
                 cacheResponse.flushBuffer();