This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-compress.git
The following commit(s) were added to refs/heads/master by this push:
new 755fad23 Javadoc
755fad23 is described below
commit 755fad2347c4b9ea4b56c61209d8f1f387cd5a67
Author: Gary Gregory <[email protected]>
AuthorDate: Wed Dec 7 20:33:33 2022 -0500
Javadoc
---
.../archivers/sevenz/SevenZArchiveEntry.java | 19 +++++++++++--------
.../commons/compress/archivers/zip/X000A_NTFS.java | 22 +++++++++++-----------
2 files changed, 22 insertions(+), 19 deletions(-)
diff --git
a/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZArchiveEntry.java
b/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZArchiveEntry.java
index 5ea2fe92..e9e73313 100644
---
a/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZArchiveEntry.java
+++
b/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZArchiveEntry.java
@@ -160,6 +160,7 @@ public class SevenZArchiveEntry implements ArchiveEntry {
/**
* Gets the compressed CRC.
+ *
* @deprecated use getCompressedCrcValue instead.
* @return the compressed CRC
*/
@@ -170,6 +171,7 @@ public class SevenZArchiveEntry implements ArchiveEntry {
/**
* Gets the compressed CRC.
+ *
* @since 1.7
* @return the CRC
*/
@@ -178,7 +180,7 @@ public class SevenZArchiveEntry implements ArchiveEntry {
}
/**
- * Get this entry's compressed file size.
+ * Gets this entry's compressed file size.
*
* @return This entry's compressed file size.
*/
@@ -216,6 +218,7 @@ public class SevenZArchiveEntry implements ArchiveEntry {
/**
* Gets the CRC.
+ *
* @since 1.7
* @return the CRC
*/
@@ -251,7 +254,7 @@ public class SevenZArchiveEntry implements ArchiveEntry {
}
/**
- * Returns whether this entry has got an access date at all.
+ * Gets whether this entry has got an access date at all.
* @return whether this entry has got an access date at all.
*/
public boolean getHasAccessDate() {
@@ -259,7 +262,7 @@ public class SevenZArchiveEntry implements ArchiveEntry {
}
/**
- * Returns whether this entry has got a crc.
+ * Gets whether this entry has got a crc.
*
* <p>In general entries without streams don't have a CRC either.</p>
* @return whether this entry has got a crc.
@@ -269,7 +272,7 @@ public class SevenZArchiveEntry implements ArchiveEntry {
}
/**
- * Returns whether this entry has got a creation date at all.
+ * Gets whether this entry has got a creation date at all.
* @return whether the entry has got a creation date
*/
public boolean getHasCreationDate() {
@@ -277,7 +280,7 @@ public class SevenZArchiveEntry implements ArchiveEntry {
}
/**
- * Returns whether this entry has got a last modified date at all.
+ * Gets whether this entry has got a last modified date at all.
* @return whether this entry has got a last modified date at all
*/
public boolean getHasLastModifiedDate() {
@@ -285,7 +288,7 @@ public class SevenZArchiveEntry implements ArchiveEntry {
}
/**
- * Returns whether this entry has windows attributes.
+ * Gets whether this entry has windows attributes.
* @return whether this entry has windows attributes.
*/
public boolean getHasWindowsAttributes() {
@@ -321,7 +324,7 @@ public class SevenZArchiveEntry implements ArchiveEntry {
}
/**
- * Get this entry's name.
+ * Gets this entry's name.
*
* <p>This method returns the raw name as it is stored inside of the
archive.</p>
*
@@ -333,7 +336,7 @@ public class SevenZArchiveEntry implements ArchiveEntry {
}
/**
- * Get this entry's file size.
+ * Gets this entry's file size.
*
* @return This entry's file size.
*/
diff --git
a/src/main/java/org/apache/commons/compress/archivers/zip/X000A_NTFS.java
b/src/main/java/org/apache/commons/compress/archivers/zip/X000A_NTFS.java
index 30a91200..2185edd9 100644
--- a/src/main/java/org/apache/commons/compress/archivers/zip/X000A_NTFS.java
+++ b/src/main/java/org/apache/commons/compress/archivers/zip/X000A_NTFS.java
@@ -128,7 +128,7 @@ public class X000A_NTFS implements ZipExtraField {
}
/**
- * Returns the access time as a java.util.Date
+ * Gets the access time as a java.util.Date
* of this zip entry, or null if no such timestamp exists in the zip entry.
*
* @return access time as java.util.Date or null.
@@ -138,7 +138,7 @@ public class X000A_NTFS implements ZipExtraField {
}
/**
- * Returns the "File last access time" of this zip entry as a
+ * Gets the "File last access time" of this zip entry as a
* ZipEightByteInteger object, or {@link ZipEightByteInteger#ZERO}
* if no such timestamp exists in the zip entry.
*
@@ -147,7 +147,7 @@ public class X000A_NTFS implements ZipExtraField {
public ZipEightByteInteger getAccessTime() { return accessTime; }
/**
- * The actual data to put into central directory data - without Header-ID
+ * Gets the actual data to put into central directory data - without
Header-ID
* or length specifier.
*
* @return the central directory data
@@ -158,7 +158,7 @@ public class X000A_NTFS implements ZipExtraField {
}
/**
- * Length of the extra field in the local file data - without
+ * Gets the length of the extra field in the local file data - without
* Header-ID or length specifier.
*
* <p>For X5455 the central length is often smaller than the
@@ -184,7 +184,7 @@ public class X000A_NTFS implements ZipExtraField {
}
/**
- * Returns the create time as a a java.util.Date of this zip
+ * Gets the create time as a a java.util.Date of this zip
* entry, or null if no such timestamp exists in the zip entry.
*
* @return create time as java.util.Date or null.
@@ -194,7 +194,7 @@ public class X000A_NTFS implements ZipExtraField {
}
/**
- * Returns the "File creation time" of this zip entry as a
+ * Gets the "File creation time" of this zip entry as a
* ZipEightByteInteger object, or {@link ZipEightByteInteger#ZERO}
* if no such timestamp exists in the zip entry.
*
@@ -203,7 +203,7 @@ public class X000A_NTFS implements ZipExtraField {
public ZipEightByteInteger getCreateTime() { return createTime; }
/**
- * The Header-ID.
+ * Gets the Header-ID.
*
* @return the value for the header id for this extrafield
*/
@@ -213,7 +213,7 @@ public class X000A_NTFS implements ZipExtraField {
}
/**
- * The actual data to put into local file data - without Header-ID
+ * Gets the actual data to put into local file data - without Header-ID
* or length specifier.
*
* @return get the data
@@ -235,7 +235,7 @@ public class X000A_NTFS implements ZipExtraField {
}
/**
- * Length of the extra field in the local file data - without
+ * Gets the length of the extra field in the local file data - without
* Header-ID or length specifier.
*
* @return a {@code ZipShort} for the length of the data of this extra
field
@@ -260,7 +260,7 @@ public class X000A_NTFS implements ZipExtraField {
}
/**
- * Returns the modify time as a java.util.Date
+ * Gets the modify time as a java.util.Date
* of this zip entry, or null if no such timestamp exists in the zip entry.
*
* @return modify time as java.util.Date or null.
@@ -270,7 +270,7 @@ public class X000A_NTFS implements ZipExtraField {
}
/**
- * Returns the "File last modification time" of this zip entry as
+ * Gets the "File last modification time" of this zip entry as
* a ZipEightByteInteger object, or {@link
* ZipEightByteInteger#ZERO} if no such timestamp exists in the
* zip entry.