This is an automated email from the ASF dual-hosted git repository. cziegeler pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/felix-dev.git
The following commit(s) were added to refs/heads/master by this push: new 6d898d8b74 Update release notes and javadoc 6d898d8b74 is described below commit 6d898d8b74532c165d3ac3808c72fb56450fe864 Author: Carsten Ziegeler <cziege...@apache.org> AuthorDate: Mon Sep 11 07:18:49 2023 +0200 Update release notes and javadoc --- webconsole/README.md | 2 +- .../felix/webconsole/AbstractWebConsolePlugin.java | 22 ++++++---------------- 2 files changed, 7 insertions(+), 17 deletions(-) diff --git a/webconsole/README.md b/webconsole/README.md index ab0d14223b..c35a994d04 100644 --- a/webconsole/README.md +++ b/webconsole/README.md @@ -127,7 +127,7 @@ In this case the Configuration Manager displays the name "myRealm, myClass" as d - [FELIX-6654](https://issues.apache.org/jira/browse/FELIX-6654) : Remove support for commons fileupload -### Changes in 4.9.4 (NOT RELEASED) +### Changes in 4.9.4 (11/Sep/23) #### Improvement diff --git a/webconsole/src/main/java/org/apache/felix/webconsole/AbstractWebConsolePlugin.java b/webconsole/src/main/java/org/apache/felix/webconsole/AbstractWebConsolePlugin.java index 4570523365..5e978bf02c 100644 --- a/webconsole/src/main/java/org/apache/felix/webconsole/AbstractWebConsolePlugin.java +++ b/webconsole/src/main/java/org/apache/felix/webconsole/AbstractWebConsolePlugin.java @@ -626,25 +626,15 @@ public abstract class AbstractWebConsolePlugin extends HttpServlet { } /** - * An utility method, that is used to filter out simple parameter from file - * parameter when multipart transfer encoding is used. - * - * This method processes the request and sets a request attribute - * {@link #ATTR_FILEUPLOAD}. The attribute value is a {@link Map} - * where the key is a String specifying the field name and the value - * is a {@link org.apache.commons.fileupload.FileItem}. - * - * @param request the HTTP request coming from the user - * @param name the name of the parameter - * @return if not multipart transfer encoding is used - the value is the - * parameter value or <code>null</code> if not set. If multipart is used, - * and the specified parameter is field - then the value of the parameter - * is returned. + * Do not use this method anymore. Use the Servlet API for request parameter + * handling. + * @param request The request object + * @param name The name of the parameter + * @return The parameter value or <code>null</code> if the parameter is not set * @deprecated Use the Servlet API for uploads */ @Deprecated - public static final String getParameter( HttpServletRequest request, String name ) - { + public static final String getParameter( HttpServletRequest request, String name ) { return WebConsoleUtil.getParameter(request, name); }