From 75912deb52c69202c65a4f056bd0c64b0ddb3d13 Mon Sep 17 00:00:00 2001 From: Simone Bordet Date: Fri, 15 Aug 2014 18:07:41 +0200 Subject: [PATCH] Updated parameter name from "associateDelay" to "associatePeriod". --- .../java/org/eclipse/jetty/servlets/PushCacheFilter.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/PushCacheFilter.java b/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/PushCacheFilter.java index bcfb135a0ec..8555b08f58f 100644 --- a/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/PushCacheFilter.java +++ b/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/PushCacheFilter.java @@ -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