Merge branch 'jetty-9.4.x' into jetty-10.0.x
This commit is contained in:
commit
78238a8a71
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue