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/14 12:07:32 UTC
commons-compress git commit: improve readability
Repository: commons-compress
Updated Branches:
refs/heads/master 32633c39f -> 3baf454c2
improve readability
Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/3baf454c
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/3baf454c
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/3baf454c
Branch: refs/heads/master
Commit: 3baf454c2c0ccd79a06b415df6150acd1389523e
Parents: 32633c3
Author: Stefan Bodewig <bo...@apache.org>
Authored: Sun Feb 14 12:07:13 2016 +0100
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Sun Feb 14 12:07:13 2016 +0100
----------------------------------------------------------------------
.../compress/archivers/tar/TarArchiveEntry.java | 40 ++++++++++----------
1 file changed, 20 insertions(+), 20 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/3baf454c/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java b/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java
index d206d75..7945706 100644
--- a/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java
+++ b/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java
@@ -114,26 +114,26 @@ import org.apache.commons.compress.utils.ArchiveUtils;
* The C structure for a xstar (Jörg Schilling star) Tar Entry's header is:
* <pre>
* struct star_header {
- * char name[100]; // offset 0
- * char mode[8]; // offset100
- * char uid[8]; // offset108
- * char gid[8]; // offset116
- * char size[12]; // offset124
- * char mtime[12]; // offset136
- * char chksum[8]; // offset148
- * char typeflag; // offset156
- * char linkname[100]; // offset157
- * char magic[6]; // offset257
- * char version[2]; // offset263
- * char uname[32]; // offset265
- * char gname[32]; // offset297
- * char devmajor[8]; // offset329
- * char devminor[8]; // offset337
- * char prefix[131]; // offset345
- * char atime[12]; // offset476
- * char ctime[12]; // offset488
- * char mfill[8]; // offset500
- * char xmagic[4]; // offset508 "tar"
+ * char name[100]; // offset 0
+ * char mode[8]; // offset 100
+ * char uid[8]; // offset 108
+ * char gid[8]; // offset 116
+ * char size[12]; // offset 124
+ * char mtime[12]; // offset 136
+ * char chksum[8]; // offset 148
+ * char typeflag; // offset 156
+ * char linkname[100]; // offset 157
+ * char magic[6]; // offset 257
+ * char version[2]; // offset 263
+ * char uname[32]; // offset 265
+ * char gname[32]; // offset 297
+ * char devmajor[8]; // offset 329
+ * char devminor[8]; // offset 337
+ * char prefix[131]; // offset 345
+ * char atime[12]; // offset 476
+ * char ctime[12]; // offset 488
+ * char mfill[8]; // offset 500
+ * char xmagic[4]; // offset 508 "tar"
* };
* </pre>
* which is identical to new-style POSIX up to the first 130 bytes of the prefix.</p>