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

commit f802ea67198028b4cda94c7328d730b69dfc509d
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Jul 17 14:05:26 2022 -0400

    Use compact array declaration
---
 src/test/java/org/apache/commons/fileupload2/FileUploadTest.java | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/test/java/org/apache/commons/fileupload2/FileUploadTest.java 
b/src/test/java/org/apache/commons/fileupload2/FileUploadTest.java
index bc26f25..42dd106 100644
--- a/src/test/java/org/apache/commons/fileupload2/FileUploadTest.java
+++ b/src/test/java/org/apache/commons/fileupload2/FileUploadTest.java
@@ -300,12 +300,10 @@ public class FileUploadTest {
     @MethodSource("data")
     public void testFileUpload130(final FileUpload upload)
             throws Exception {
-        final String[] headerNames = new String[]
-        {
+        final String[] headerNames = {
             "SomeHeader", "OtherHeader", "YetAnotherHeader", "WhatAHeader"
         };
-        final String[] headerValues = new String[]
-        {
+        final String[] headerValues = {
             "present", "Is there", "Here", "Is That"
         };
         final List<FileItem> fileItems = Util.parseUpload(upload,

Reply via email to