This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch 1.x in repository https://gitbox.apache.org/repos/asf/commons-fileupload.git
commit d9a3b8bb2f69c3b8632fbbd4630a32696f5e6f65 Author: Gary D. Gregory <garydgreg...@gmail.com> AuthorDate: Thu Jun 5 07:50:56 2025 -0400 Use final --- src/test/java/org/apache/commons/fileupload/MultipartStreamTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/apache/commons/fileupload/MultipartStreamTest.java b/src/test/java/org/apache/commons/fileupload/MultipartStreamTest.java index 79533c24..a5709ced 100644 --- a/src/test/java/org/apache/commons/fileupload/MultipartStreamTest.java +++ b/src/test/java/org/apache/commons/fileupload/MultipartStreamTest.java @@ -71,7 +71,7 @@ public class MultipartStreamTest { "Content-Type: text/whatever\r\n" + "Content-Length: 10\r\n" + "X-Padding: "); - int paddingLength = MultipartStream.DEFAULT_BUFSIZE - request.length(); + final int paddingLength = MultipartStream.DEFAULT_BUFSIZE - request.length(); for (int i = 0; i < paddingLength; i++) { request.append('x'); }