Updated parameter name from "associateDelay" to "associatePeriod".

This commit is contained in:
Simone Bordet 2014-08-15 18:07:41 +02:00
parent c7987b154a
commit 75912deb52
1 changed files with 3 additions and 2 deletions

View File

@ -70,8 +70,9 @@ public class PushCacheFilter implements Filter
@Override
public void init(FilterConfig config) throws ServletException
{
if (config.getInitParameter("associateDelay") != null)
_associatePeriod = Long.valueOf(config.getInitParameter("associateDelay"));
String associatePeriod = config.getInitParameter("associatePeriod");
if (associatePeriod != null)
_associatePeriod = Long.valueOf(associatePeriod);
}
@Override