From 7f66fb1764ac99e506e24364856cc93eb6bb1cb6 Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Sat, 8 Jul 2023 18:03:28 -0400 Subject: [PATCH] Normalize names --- .../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 03321ffc0a..55b74ff9df 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 MockPortletActionRequest(final byte[] requestData, final String contentTy 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