Merge branch 'jetty-9.4.x' into jetty-10.0.x

This commit is contained in:
olivier lamy 2018-10-10 18:25:55 +10:00
commit 78238a8a71
1 changed files with 1 additions and 3 deletions

View File

@ -39,8 +39,6 @@ import java.util.Collections;
import java.util.EnumSet; import java.util.EnumSet;
import java.util.List; import java.util.List;
import java.util.Locale; import java.util.Locale;
import java.util.Map;
import javax.servlet.MultipartConfigElement; import javax.servlet.MultipartConfigElement;
import javax.servlet.ServletInputStream; import javax.servlet.ServletInputStream;
import javax.servlet.http.Part; import javax.servlet.http.Part;
@ -515,7 +513,7 @@ public class MultiPartInputStreamParser
public Part getPart(String name) public Part getPart(String name)
throws IOException throws IOException
{ {
if(_parsed) if(!_parsed)
parse(); parse();
throwIfError(); throwIfError();
return _parts.getValue(name, 0); return _parts.getValue(name, 0);