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: COMPRESS-391 add pointer to zipalign
Date Thu, 11 May 2017 18:15:29 GMT
COMPRESS-391 add pointer to zipalign


Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/c312e43b
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/c312e43b
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/c312e43b

Branch: refs/heads/master
Commit: c312e43b03d1e18fd65908621a0ce885ae1c5fed
Parents: 702f27a
Author: Stefan Bodewig <bodewig@apache.org>
Authored: Wed May 10 10:02:58 2017 +0200
Committer: Stefan Bodewig <bodewig@apache.org>
Committed: Thu May 11 20:04:34 2017 +0200

----------------------------------------------------------------------
 .../commons/compress/archivers/zip/PaddingExtraField.java       | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/c312e43b/src/main/java/org/apache/commons/compress/archivers/zip/PaddingExtraField.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/PaddingExtraField.java
b/src/main/java/org/apache/commons/compress/archivers/zip/PaddingExtraField.java
index 590cc93..fc57b36 100644
--- a/src/main/java/org/apache/commons/compress/archivers/zip/PaddingExtraField.java
+++ b/src/main/java/org/apache/commons/compress/archivers/zip/PaddingExtraField.java
@@ -27,7 +27,12 @@ import java.util.zip.ZipException;
  * <p>The actual content of the padding is ignored and not retained
  * when reading a padding field.</p>
  *
+ * <p>This enables Commons Compress to create "aligned" archives
+ * similar to Android's zipalign command line tool.</p>
+ *
  * @since 1.14
+ * @see "https://developer.android.com/studio/command-line/zipalign.html"
+ * @see ZipArchiveEntry#setAlignment
  */
 public class PaddingExtraField implements ZipExtraField {
 


Mime
View raw message