Repository: commons-compress
Updated Branches:
  refs/heads/master 76b0184c7 -> 48a0930e9


more javadocs and @since tags, thanks Clirr


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

Branch: refs/heads/master
Commit: 35dddc656c3f4918e1eb19ff6840d34fef454db4
Parents: 76b0184
Author: Stefan Bodewig <bode...@apache.org>
Authored: Fri Mar 25 15:54:03 2016 +0100
Committer: Stefan Bodewig <bode...@apache.org>
Committed: Fri Mar 25 15:54:03 2016 +0100

----------------------------------------------------------------------
 .../compress/archivers/tar/TarConstants.java    |  6 ++++
 .../compress/archivers/zip/ZipArchiveEntry.java | 30 ++++++++++++++++++++
 2 files changed, 36 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/35dddc65/src/main/java/org/apache/commons/compress/archivers/tar/TarConstants.java
----------------------------------------------------------------------
diff --git 
a/src/main/java/org/apache/commons/compress/archivers/tar/TarConstants.java 
b/src/main/java/org/apache/commons/compress/archivers/tar/TarConstants.java
index fa4e40a..9dde016 100644
--- a/src/main/java/org/apache/commons/compress/archivers/tar/TarConstants.java
+++ b/src/main/java/org/apache/commons/compress/archivers/tar/TarConstants.java
@@ -319,34 +319,40 @@ public interface TarConstants {
     /**
      * The magix string used in the last four bytes of the header to
      * identify the xstar format.
+     * @since 1.11
      */
     String MAGIC_XSTAR = "tar\0";
 
     /**
      * Offset inside the header for the xstar magic bytes.
+     * @since 1.11
      */
     int XSTAR_MAGIC_OFFSET = 508;
 
     /**
      * Length of the XSTAR magic.
+     * @since 1.11
      */
     int XSTAR_MAGIC_LEN = 4;
 
     /**
      * Length of the prefix field in xstar archives.
      * 
+     * @since 1.11
      */
     int PREFIXLEN_XSTAR = 131;
 
     /**
      * The length of the access time field in a xstar header buffer.
      * 
+     * @since 1.11
      */
     int ATIMELEN_XSTAR = 12;
 
     /**
      * The length of the created time field in a xstar header buffer.
      * 
+     * @since 1.11
      */
     int CTIMELEN_XSTAR = 12;
 }

http://git-wip-us.apache.org/repos/asf/commons-compress/blob/35dddc65/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveEntry.java
----------------------------------------------------------------------
diff --git 
a/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveEntry.java 
b/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveEntry.java
index f89a862..935f012 100644
--- 
a/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveEntry.java
+++ 
b/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveEntry.java
@@ -803,26 +803,56 @@ public class ZipArchiveEntry extends 
java.util.zip.ZipEntry
             && gpb.equals(other.gpb);
     }
 
+    /**
+     * Sets the "version made by" field.
+     * @param versionMadeBy "version made by" field
+     * @since 1.11
+     */
     public void setVersionMadeBy(int versionMadeBy) {
         this.versionMadeBy = versionMadeBy;
     }
 
+    /**
+     * Sets the "version required to expand" field.
+     * @param versionRequired "version required to expand" field
+     * @since 1.11
+     */
     public void setVersionRequired(int versionRequired) {
         this.versionRequired = versionRequired;
     }
 
+    /**
+     * The "version required to expand" field.
+     * @return "version required to expand" field
+     * @since 1.11
+     */
     public int getVersionRequired() {
         return versionRequired;
     }
 
+    /**
+     * The "version made by" field.
+     * @return "version made by" field
+     * @since 1.11
+     */
     public int getVersionMadeBy() {
         return versionMadeBy;
     }
 
+    /**
+     * The content of the flags field.
+     * @return content of the flags field
+     * @since 1.11
+     */
     public int getRawFlag() {
         return rawFlag;
     }
 
+    /**
+     * Sets the content of the flags field.
+     * @param rawFlag content of the flags field
+     * @since 1.11
+     */
     public void setRawFlag(int rawFlag) {
         this.rawFlag = rawFlag;
     }

Reply via email to