You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by bo...@apache.org on 2018/04/29 18:30:04 UTC
commons-compress git commit: COMRESS-118 inner class can be static
Repository: commons-compress
Updated Branches:
refs/heads/master d1f9ac3a0 -> 9a84b4eec
COMRESS-118 inner class can be static
Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/9a84b4ee
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/9a84b4ee
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/9a84b4ee
Branch: refs/heads/master
Commit: 9a84b4eec3ce4e22cd3e637a2eb9528fe71de5e9
Parents: d1f9ac3
Author: Stefan Bodewig <bo...@apache.org>
Authored: Sun Apr 29 20:29:39 2018 +0200
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Sun Apr 29 20:29:39 2018 +0200
----------------------------------------------------------------------
.../compress/archivers/examples/DirectoryBasedSupplier.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/9a84b4ee/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 e224040..1b8cc91 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
@@ -51,7 +51,7 @@ public class DirectoryBasedSupplier
return new DirectoryIterator("", dir);
}
- private class DirectoryIterator implements ThrowingIterator<ChainPayload<File>> {
+ private static class DirectoryIterator implements ThrowingIterator<ChainPayload<File>> {
private final Iterator<File> files;
private final String namePrefix;
private DirectoryIterator nestedIterator;