Skip to content

Commit 0fb14b1

Browse files
author
Gary Gregory
committed
Reuse ArrayUtils.EMPTY_BYTE_ARRAY in test
1 parent 26d7770 commit 0fb14b1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/test/java/org/apache/commons/io/input/MemoryMappedFileInputStreamTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
2020
import static org.junit.jupiter.api.Assertions.assertEquals;
21+
import static org.apache.commons.lang3.ArrayUtils.EMPTY_BYTE_ARRAY;
2122

2223
import java.io.IOException;
2324
import java.io.InputStream;
@@ -39,8 +40,6 @@
3940
*/
4041
public class MemoryMappedFileInputStreamTest {
4142

42-
private static final byte[] EMPTY_BYTE_ARRAY = new byte[0];
43-
4443
@TempDir
4544
Path tempDir;
4645

0 commit comments

Comments
 (0)