You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2009/03/30 00:16:01 UTC
svn commit: r759791 -
/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStream.java
Author: sebb
Date: Sun Mar 29 22:16:01 2009
New Revision: 759791
URL: http://svn.apache.org/viewvc?rev=759791&view=rev
Log:
Document match() problem
Modified:
commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStream.java
Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStream.java?rev=759791&r1=759790&r2=759791&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStream.java (original)
+++ commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStream.java Sun Mar 29 22:16:01 2009
@@ -402,7 +402,8 @@
// ArchiveInputStream
public static boolean matches(byte[] signature, int length) {
- // 6574 7473 2e31 6d78
+ // 6574 7473 2e31 6d78 == "test1.xml"
+ // TODO replace with a proper test if possible - see COMPRESS-65
if (length < 8) {
return false;