commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject [2/6] commons-compress git commit: Add toString() method on SevenZFile to display diagnostic information.
Date Wed, 24 Feb 2016 14:54:03 GMT
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 <dawid.weiss@carrotsearch.com>
Authored: Tue Feb 23 13:52:26 2016 +0100
Committer: Stefan Bodewig <bodewig@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();
+    }
 }


Mime
View raw message