Repository: commons-compress
Updated Branches:
  refs/heads/master f62c52315 -> 82f9bfcb9


make code compile on Java7


Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/82f9bfcb
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/82f9bfcb
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/82f9bfcb

Branch: refs/heads/master
Commit: 82f9bfcb9102d84e96ed68172a1ddedeea3125af
Parents: f62c523
Author: Stefan Bodewig <bode...@apache.org>
Authored: Sun Apr 29 19:10:42 2018 +0200
Committer: Stefan Bodewig <bode...@apache.org>
Committed: Sun Apr 29 19:10:42 2018 +0200

----------------------------------------------------------------------
 .../compress/archivers/examples/DirectoryBasedSupplier.java     | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/82f9bfcb/src/main/java/org/apache/commons/compress/archivers/examples/DirectoryBasedSupplier.java
----------------------------------------------------------------------
diff --git 
a/src/main/java/org/apache/commons/compress/archivers/examples/DirectoryBasedSupplier.java
 
b/src/main/java/org/apache/commons/compress/archivers/examples/DirectoryBasedSupplier.java
index 7bfe58b..a6947b0 100644
--- 
a/src/main/java/org/apache/commons/compress/archivers/examples/DirectoryBasedSupplier.java
+++ 
b/src/main/java/org/apache/commons/compress/archivers/examples/DirectoryBasedSupplier.java
@@ -67,6 +67,10 @@ public class DirectoryBasedSupplier
                     public File next() {
                         throw new NoSuchElementException();
                     }
+                    @Override
+                    public void remove() {
+                        throw new UnsupportedOperationException();
+                    }
                 }
             : Arrays.asList(fs).iterator();
         }
@@ -103,5 +107,6 @@ public class DirectoryBasedSupplier
                     }
                 });
         }
+
     }
 }

Reply via email to