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 2016/02/24 15:54:03 UTC
[2/6] commons-compress git commit: Add toString() method on
SevenZFile to display diagnostic information.
Add toString() method on SevenZFile to display diagnostic information.
Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/ebeb53d1
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/ebeb53d1
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/ebeb53d1
Branch: refs/heads/master
Commit: ebeb53d1ca716035748acaafffb7650a9b435678
Parents: 3baf454
Author: Dawid Weiss <da...@carrotsearch.com>
Authored: Tue Feb 23 13:52:26 2016 +0100
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Wed Feb 24 15:42:19 2016 +0100
----------------------------------------------------------------------
.../apache/commons/compress/archivers/sevenz/SevenZFile.java | 5 +++++
1 file changed, 5 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/ebeb53d1/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZFile.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZFile.java b/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZFile.java
index 809a9dc..90bda16 100644
--- a/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZFile.java
+++ b/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZFile.java
@@ -983,4 +983,9 @@ public class SevenZFile implements Closeable {
}
return skipped;
}
+
+ @Override
+ public String toString() {
+ return archive.toString();
+ }
}