You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by jl...@apache.org on 2018/03/09 19:31:39 UTC

[incubator-netbeans] branch master updated: [NETBEANS-449] Providing an implementation of stream() method, delegating to ArrayList.stream(), to disambiguate Collection.stream and ResourceCollection.stream()

This is an automated email from the ASF dual-hosted git repository.

jlahoda pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git


The following commit(s) were added to refs/heads/master by this push:
     new 088b8b4  [NETBEANS-449] Providing an implementation of stream() method, delegating to ArrayList.stream(), to disambiguate Collection.stream and ResourceCollection.stream()
088b8b4 is described below

commit 088b8b48118028f6f8490a96fdb17d26c279cd12
Author: Jan Lahoda <jl...@netbeans.org>
AuthorDate: Thu Mar 8 06:53:41 2018 +0100

    [NETBEANS-449] Providing an implementation of stream() method, delegating to ArrayList.stream(), to disambiguate Collection.stream and ResourceCollection.stream()
---
 nbbuild/antsrc/org/netbeans/nbbuild/LayerIndex.java | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/nbbuild/antsrc/org/netbeans/nbbuild/LayerIndex.java b/nbbuild/antsrc/org/netbeans/nbbuild/LayerIndex.java
index 3ed7782..d01c4c7 100644
--- a/nbbuild/antsrc/org/netbeans/nbbuild/LayerIndex.java
+++ b/nbbuild/antsrc/org/netbeans/nbbuild/LayerIndex.java
@@ -45,6 +45,7 @@ import java.util.jar.JarFile;
 import java.util.jar.Manifest;
 import java.util.regex.Matcher;
 import java.util.regex.Pattern;
+import java.util.stream.Stream;
 import java.util.zip.ZipEntry;
 import java.util.zip.ZipException;
 import java.util.zip.ZipFile;
@@ -346,6 +347,11 @@ public class LayerIndex extends Task {
         public boolean isFilesystemOnly() {
             return false;
         }
+
+        @Override
+        public Stream<Resource> stream() {
+            return super.stream();
+        }
     }
 
     private static final class LayerResource extends ZipResource {

-- 
To stop receiving notification emails like this one, please contact
jlahoda@apache.org.

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists