Reuse ArrayUtils.EMPTY_BYTE_ARRAY in test
MODIFY
src/test/java/org/apache/commons/io/input/MemoryMappedFileInputStreamTest.java
src/test/java/org/apache/commons/io/input/MemoryMappedFileInputStreamTest.java
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.apache.commons.lang3.ArrayUtils.EMPTY_BYTE_ARRAY;
import java.io.IOException;
import java.io.InputStream;
*/
public class MemoryMappedFileInputStreamTest {
- private static final byte[] EMPTY_BYTE_ARRAY = new byte[0];
-
@TempDir
Path tempDir;

Reuse ArrayUtils.EMPTY_BYTE_ARRAY in test