diff --git a/src/main/java/com.xiaoyi/AbstractHttpServletRequest.java b/src/main/java/com.xiaoyi/AbstractHttpServletRequest.java index 9240d66..461025e 100644 --- a/src/main/java/com.xiaoyi/AbstractHttpServletRequest.java +++ b/src/main/java/com.xiaoyi/AbstractHttpServletRequest.java @@ -9,15 +9,14 @@ import java.security.Principal; import java.util.*; public class AbstractHttpServletRequest implements HttpServletRequest { - // This method is overridden from the Part interface and is used to get a Part object from the request @Override public Part getPart(String s) throws IOException, ServletException { - // This method returns null as there is no implementation for it return null; } - + // This method returns a collection of Part objects @Override public Collection getParts() throws IOException, ServletException { + // Return an empty list as there are no parts return List.of(); } //hello