From 2ad81fc627593518ab974c05e4743bc791dcf146 Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Fri, 10 Aug 2012 12:50:00 -0700 Subject: [PATCH] [multimap-ng] making MultiPartFilter behave. --- .../main/java/org/eclipse/jetty/servlets/MultiPartFilter.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/MultiPartFilter.java b/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/MultiPartFilter.java index 757d3f6ce7f..b0e1c88f638 100644 --- a/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/MultiPartFilter.java +++ b/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/MultiPartFilter.java @@ -137,7 +137,6 @@ public class MultiPartFilter implements Filter MultipartConfigElement config = new MultipartConfigElement(tempdir.getCanonicalPath(), _maxFileSize, _maxRequestSize, _fileOutputBuffer); MultiPartInputStream mpis = new MultiPartInputStream(in, content_type, config, tempdir); - try { Collection parts = mpis.getParts(); @@ -222,7 +221,7 @@ public class MultiPartFilter implements Filter private static class Wrapper extends HttpServletRequestWrapper { String _encoding=StringUtil.__UTF8; - MultiMap _params; + MultiMap _params; /* ------------------------------------------------------------------------------- */ /** Constructor.