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 130cb8e59050460d5875d13f192fd8ae0870ada6 Author: Gary Gregory <[email protected]> AuthorDate: Sun Jul 17 14:05:13 2022 -0400 Use compact array declaration --- .../org/apache/commons/fileupload2/util/mime/Base64DecoderTestCase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/apache/commons/fileupload2/util/mime/Base64DecoderTestCase.java b/src/test/java/org/apache/commons/fileupload2/util/mime/Base64DecoderTestCase.java index 1634d63..5becdf0 100644 --- a/src/test/java/org/apache/commons/fileupload2/util/mime/Base64DecoderTestCase.java +++ b/src/test/java/org/apache/commons/fileupload2/util/mime/Base64DecoderTestCase.java @@ -78,7 +78,7 @@ public final class Base64DecoderTestCase { @Test public void truncatedString() { - final byte[] x = new byte[]{'n'}; + final byte[] x = {'n'}; assertThrows(IOException.class, () -> Base64Decoder.decode(x, new ByteArrayOutputStream())); }
