Replace deprecated NullOutputStream (#4989)

Co-authored-by: Raihaan Shouhell <raihaanhimself@gmail.com>
This commit is contained in:
StefanSpiekerandRaihaan Shouhell authored and GitHub committed 2020-10-13 08:10:55 +01:00
1 parent c4a6df6c6d
commit 4499ad6ffd
7 files changed
+9 -9

No files matched your search

+2 -2
View File
@@ -242,8 +242,8 @@ public class FilePathTest {
@Test public void archiveBug() throws Exception {
FilePath d = new FilePath(channels.french, temp.getRoot().getPath());
d.child("test").touch(0);
d.zip(new NullOutputStream());
d.zip(new NullOutputStream(),"**/*");
d.zip(NullOutputStream.NULL_OUTPUT_STREAM);
d.zip(NullOutputStream.NULL_OUTPUT_STREAM,"**/*");
}
@Test public void normalization() throws Exception {