This is an automated email from the ASF dual-hosted git repository.
garydgregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-fileupload.git
The following commit(s) were added to refs/heads/master by this push:
new f594b51e Better parameter name
f594b51e is described below
commit f594b51e1b0fc6e71a1a466ee868bfb571b83e6c
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Jul 25 09:11:29 2026 -0400
Better parameter name
---
.../org/apache/commons/fileupload2/core/AbstractFileUpload.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/AbstractFileUpload.java
b/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/AbstractFileUpload.java
index 578f1822..bb2a86d4 100644
---
a/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/AbstractFileUpload.java
+++
b/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/AbstractFileUpload.java
@@ -467,12 +467,12 @@ public abstract class AbstractFileUpload<R, I extends
FileItem<I>, F extends Fil
/**
* Parses an <a href="https://www.ietf.org/rfc/rfc1867.txt">RFC 1867</a>
compliant {@code multipart/form-data} stream.
*
- * @param ctx The context for the request to be parsed.
+ * @param requestContext The context for the request to be parsed.
* @return A map of {@code FileItem} instances parsed from the request.
* @throws FileUploadException if there are problems reading/parsing the
request or storing files.
*/
- public Map<String, List<I>> parseParameterMap(final RequestContext ctx)
throws FileUploadException {
- final var items = parseRequest(ctx);
+ public Map<String, List<I>> parseParameterMap(final RequestContext
requestContext) throws FileUploadException {
+ final var items = parseRequest(requestContext);
final Map<String, List<I>> itemsMap = new HashMap<>(items.size());
for (final I fileItem : items) {