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-compress.git

commit 149616fef1a397cd81ca5509dff07e041b6022e5
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Tue Aug 29 10:08:27 2023 -0400

    Replace deprecated method call
---
 .../java/org/apache/commons/compress/archivers/jar/ExpandApkTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/test/java/org/apache/commons/compress/archivers/jar/ExpandApkTest.java 
b/src/test/java/org/apache/commons/compress/archivers/jar/ExpandApkTest.java
index 70d16217..f4063c1d 100644
--- a/src/test/java/org/apache/commons/compress/archivers/jar/ExpandApkTest.java
+++ b/src/test/java/org/apache/commons/compress/archivers/jar/ExpandApkTest.java
@@ -39,7 +39,7 @@ public class ExpandApkTest {
     @Test
     public void test() throws IOException {
         Streams
-            .stream(
+            .failableStream(
                 PathUtils.walk(Paths.get("src/test/resources/android"), new 
SuffixFileFilter("." + ArchiveStreamFactory.APK, IOCase.INSENSITIVE), 100, 
false))
             .forEach(path -> new Expander().expand(ArchiveStreamFactory.APK, 
println(path), null));
     }

Reply via email to