commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject commons-compress git commit: COMPRESS-391 add pointer to zipalign
Date Wed, 10 May 2017 08:11:54 GMT
Repository: commons-compress
Updated Branches:
  refs/heads/COMPRESS-391 1e27dcad8 -> b2a56cc98


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/b2a56cc9
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/b2a56cc9
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/b2a56cc9

Branch: refs/heads/COMPRESS-391
Commit: b2a56cc9879852fdf1a2d0735a22750da36ac3b2
Parents: 1e27dca
Author: Stefan Bodewig <bodewig@apache.org>
Authored: Wed May 10 10:02:58 2017 +0200
Committer: Stefan Bodewig <bodewig@apache.org>
Committed: Wed May 10 10:02:58 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/b2a56cc9/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