This is an automated email from the ASF dual-hosted git repository. ggregory 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 7f66fb1 Normalize names 7f66fb1 is described below commit 7f66fb1764ac99e506e24364856cc93eb6bb1cb6 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sat Jul 8 18:03:28 2023 -0400 Normalize names --- .../commons/fileupload2/portlet/MockPortletActionRequest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/commons-fileupload2-portlet/src/test/java/org/apache/commons/fileupload2/portlet/MockPortletActionRequest.java b/commons-fileupload2-portlet/src/test/java/org/apache/commons/fileupload2/portlet/MockPortletActionRequest.java index 03321ff..55b74ff 100644 --- a/commons-fileupload2-portlet/src/test/java/org/apache/commons/fileupload2/portlet/MockPortletActionRequest.java +++ b/commons-fileupload2-portlet/src/test/java/org/apache/commons/fileupload2/portlet/MockPortletActionRequest.java @@ -60,11 +60,11 @@ public class MockPortletActionRequest implements ActionRequest { this(new ByteArrayInputStream(requestData), requestData.length, contentType); } - public MockPortletActionRequest(final ByteArrayInputStream byteArrayInputStream, final int requestLength, final String contentType) { - this.requestData = byteArrayInputStream; - length = requestLength; + public MockPortletActionRequest(final ByteArrayInputStream requestData, final int length, final String contentType) { + this.requestData = requestData; + this.length = length; this.contentType = contentType; - attributes.put(AbstractFileUpload.CONTENT_TYPE, contentType); + this.attributes.put(AbstractFileUpload.CONTENT_TYPE, contentType); } @Override