diff --git a/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveInputStream.java b/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveInputStream.java index 4a3f73a868b..ddb9e6c6c50 100644 --- a/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveInputStream.java +++ b/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveInputStream.java @@ -217,7 +217,7 @@ private String getBSDLongName(final String bsdLongName) throws IOException { } /** - * Get an extended name from the GNU extended name buffer. + * Gets an extended name from the GNU extended name buffer. * * @param offset pointer to entry within the buffer * @return the extended file name; without trailing "/" if present. diff --git a/src/main/java/org/apache/commons/compress/archivers/arj/ArjArchiveEntry.java b/src/main/java/org/apache/commons/compress/archivers/arj/ArjArchiveEntry.java index 5ab7c873215..23b22702dca 100644 --- a/src/main/java/org/apache/commons/compress/archivers/arj/ArjArchiveEntry.java +++ b/src/main/java/org/apache/commons/compress/archivers/arj/ArjArchiveEntry.java @@ -165,7 +165,7 @@ public int getMode() { } /** - * Get this entry's name. + * Gets this entry's name. * *

This method returns the raw name as it is stored inside of the archive.

* @@ -181,7 +181,7 @@ public String getName() { } /** - * 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/dump/Dirent.java b/src/main/java/org/apache/commons/compress/archivers/dump/Dirent.java index 30a522e1de2..73b2a3d47bf 100644 --- a/src/main/java/org/apache/commons/compress/archivers/dump/Dirent.java +++ b/src/main/java/org/apache/commons/compress/archivers/dump/Dirent.java @@ -43,7 +43,7 @@ class Dirent { } /** - * Get ino. + * Gets ino. * @return the i-node */ int getIno() { @@ -51,7 +51,7 @@ int getIno() { } /** - * Get name of directory entry. + * Gets name of directory entry. * *

This method returns the raw name as it is stored inside of the archive.

* @@ -62,7 +62,7 @@ String getName() { } /** - * Get ino of parent directory. + * Gets ino of parent directory. * @return the parent i-node */ int getParentIno() { @@ -70,7 +70,7 @@ int getParentIno() { } /** - * Get entry type. + * Gets entry type. * @return the entry type */ int getType() { diff --git a/src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.java b/src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.java index 651c4f7432c..6d391bc5ad4 100644 --- a/src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.java +++ b/src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.java @@ -453,7 +453,7 @@ public Date getAccessTime() { } /** - * Get file creation time. + * Gets file creation time. * @return the creation time */ public Date getCreationTime() { @@ -594,7 +594,7 @@ public long getSize() { } /** - * Get the type of the entry. + * Gets the type of the entry. * @return the type */ public TYPE getType() { diff --git a/src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveInputStream.java b/src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveInputStream.java index ab8c180a807..07d24a418e6 100644 --- a/src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveInputStream.java +++ b/src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveInputStream.java @@ -297,7 +297,7 @@ public DumpArchiveEntry getNextEntry() throws IOException { } /** - * Get full path for specified archive entry, or null if there's a gap. + * Gets full path for specified archive entry, or null if there's a gap. * * @param entry * @return full path for specified archive entry, or null if there's a gap. diff --git a/src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveSummary.java b/src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveSummary.java index 2053e7b26f0..16e63245d1b 100644 --- a/src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveSummary.java +++ b/src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveSummary.java @@ -78,7 +78,7 @@ public boolean equals(final Object obj) { } /** - * Get the device name, e.g., /dev/sda3 or /dev/mapper/vg0-home. + * Gets the device name, e.g., /dev/sda3 or /dev/mapper/vg0-home. * @return device name */ public String getDevname() { @@ -86,7 +86,7 @@ public String getDevname() { } /** - * Get the date of this dump. + * Gets the date of this dump. * @return the date of this dump. */ public Date getDumpDate() { @@ -94,7 +94,7 @@ public Date getDumpDate() { } /** - * Get the last mountpoint, e.g., /home. + * Gets the last mountpoint, e.g., /home. * @return last mountpoint */ public String getFilesystem() { @@ -102,7 +102,7 @@ public String getFilesystem() { } /** - * Get the inode of the first record on this volume. + * Gets the inode of the first record on this volume. * @return inode of the first record on this volume. */ public int getFirstRecord() { @@ -110,7 +110,7 @@ public int getFirstRecord() { } /** - * Get the miscellaneous flags. See below. + * Gets the miscellaneous flags. See below. * @return flags */ public int getFlags() { @@ -118,7 +118,7 @@ public int getFlags() { } /** - * Get the hostname of the system where the dump was performed. + * Gets the hostname of the system where the dump was performed. * @return hostname the host name */ public String getHostname() { @@ -126,7 +126,7 @@ public String getHostname() { } /** - * Get dump label. This may be autogenerated, or it may be specified + * Gets dump label. This may be autogenerated, or it may be specified * by the user. * @return dump label */ @@ -135,7 +135,7 @@ public String getLabel() { } /** - * Get the level of this dump. This is a number between 0 and 9, inclusive, + * Gets the level of this dump. This is a number between 0 and 9, inclusive, * and a level 0 dump is a complete dump of the partition. For any other dump * 'n' this dump contains all files that have changed since the last dump * at this level or lower. This is used to support different levels of @@ -147,7 +147,7 @@ public int getLevel() { } /** - * Get the number of records per tape block. This is typically + * Gets the number of records per tape block. This is typically * between 10 and 32. * @return the number of records per tape block */ @@ -156,7 +156,7 @@ public int getNTRec() { } /** - * Get the date of the previous dump at this level higher. + * Gets the date of the previous dump at this level higher. * @return dumpdate may be null */ public Date getPreviousDumpDate() { @@ -164,7 +164,7 @@ public Date getPreviousDumpDate() { } /** - * Get volume (tape) number. + * Gets volume (tape) number. * @return volume (tape) number. */ public int getVolume() { 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 a0a80cf42bb..8d79bbffc92 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 @@ -817,7 +817,7 @@ void fillStarSparseData(final Map headers) throws IOException { } /** - * Get this entry's creation time. + * Gets this entry's creation time. * * @since 1.22 * @return This entry's computed creation time. @@ -836,7 +836,7 @@ public long getDataOffset() { } /** - * Get this entry's major device number. + * Gets this entry's major device number. * * @return This entry's major device number. * @since 1.4 @@ -846,7 +846,7 @@ public int getDevMajor() { } /** - * Get this entry's minor device number. + * Gets this entry's minor device number. * * @return This entry's minor device number. * @since 1.4 @@ -900,7 +900,7 @@ public Map getExtraPaxHeaders() { } /** - * Get this entry's file. + * Gets this entry's file. * *

This method is only useful for entries created from a {@code * File} or {@code Path} but not for entries read from an archive.

@@ -915,7 +915,7 @@ public File getFile() { } /** - * Get this entry's group id. + * Gets this entry's group id. * * @return This entry's group id. * @deprecated use #getLongGroupId instead as group ids can be @@ -927,7 +927,7 @@ public int getGroupId() { } /** - * Get this entry's group name. + * Gets this entry's group name. * * @return This entry's group name. */ @@ -936,7 +936,7 @@ public String getGroupName() { } /** - * Get this entry's last access time. + * Gets this entry's last access time. * * @since 1.22 * @return This entry's last access time. @@ -946,7 +946,7 @@ public FileTime getLastAccessTime() { } /** - * Get this entry's modification time. + * Gets this entry's modification time. * This is equivalent to {@link TarArchiveEntry#getLastModifiedTime()}, but precision is truncated to milliseconds. * * @return This entry's modification time. @@ -958,7 +958,7 @@ public Date getLastModifiedDate() { } /** - * Get this entry's modification time. + * Gets this entry's modification time. * * @since 1.22 * @return This entry's modification time. @@ -968,7 +968,7 @@ public FileTime getLastModifiedTime() { } /** - * Get this entry's link flag. + * Gets this entry's link flag. * * @return this entry's link flag. * @since 1.23 @@ -978,7 +978,7 @@ public byte getLinkFlag() { } /** - * Get this entry's link name. + * Gets this entry's link name. * * @return This entry's link name. */ @@ -987,7 +987,7 @@ public String getLinkName() { } /** - * Get this entry's group id. + * Gets this entry's group id. * * @since 1.10 * @return This entry's group id. @@ -997,7 +997,7 @@ public long getLongGroupId() { } /** - * Get this entry's user id. + * Gets this entry's user id. * * @return This entry's user id. * @since 1.10 @@ -1007,7 +1007,7 @@ public long getLongUserId() { } /** - * Get this entry's mode. + * Gets this entry's mode. * * @return This entry's mode. */ @@ -1016,7 +1016,7 @@ public int getMode() { } /** - * Get this entry's modification time. + * Gets this entry's modification time. * This is equivalent to {@link TarArchiveEntry#getLastModifiedTime()}, but precision is truncated to milliseconds. * * @return This entry's modification time. @@ -1027,7 +1027,7 @@ public Date getModTime() { } /** - * Get this entry's name. + * Gets this entry's name. * *

This method returns the raw name as it is stored inside of the archive.

* @@ -1039,7 +1039,7 @@ public String getName() { } /** - * Get this entry's sparse headers ordered by offset with all empty sparse sections at the start filtered out. + * Gets this entry's sparse headers ordered by offset with all empty sparse sections at the start filtered out. * * @return immutable list of this entry's sparse headers, never null * @since 1.21 @@ -1079,7 +1079,7 @@ public List getOrderedSparseHeaders() throws IOException } /** - * Get this entry's file. + * Gets this entry's file. * *

This method is only useful for entries created from a {@code * File} or {@code Path} but not for entries read from an archive.

@@ -1092,7 +1092,7 @@ public Path getPath() { } /** - * Get this entry's real file size in case of a sparse file. + * Gets this entry's real file size in case of a sparse file. * *

This is the size a file would take on disk if the entry was expanded.

* @@ -1108,7 +1108,7 @@ public long getRealSize() { } /** - * Get this entry's file size. + * Gets this entry's file size. * *

This is the size the entry's data uses inside the archive. Usually this is the same as {@link * #getRealSize}, but it doesn't take the "holes" into account when the entry represents a sparse file. @@ -1121,7 +1121,7 @@ public long getSize() { } /** - * Get this entry's sparse headers + * Gets this entry's sparse headers * * @return This entry's sparse headers * @since 1.20 @@ -1131,7 +1131,7 @@ public List getSparseHeaders() { } /** - * Get this entry's status change time. + * Gets this entry's status change time. * * @since 1.22 * @return This entry's status change time. @@ -1141,7 +1141,7 @@ public FileTime getStatusChangeTime() { } /** - * Get this entry's user id. + * Gets this entry's user id. * * @return This entry's user id. * @deprecated use #getLongUserId instead as user ids can be @@ -1153,7 +1153,7 @@ public int getUserId() { } /** - * Get this entry's user name. + * Gets this entry's user name. * * @return This entry's user name. */ @@ -1192,7 +1192,7 @@ public boolean isCharacterDevice() { } /** - * Get this entry's checksum status. + * Gets this entry's checksum status. * * @return if the header checksum is reasonably correct * @see TarUtils#verifyCheckSum(byte[]) @@ -1365,7 +1365,7 @@ public boolean isOldGNUSparse() { } /** - * Get if this entry is a sparse file with 1.X PAX Format or not + * Gets if this entry is a sparse file with 1.X PAX Format or not * * @return True if this entry is a sparse file with 1.X PAX Format * @since 1.20 diff --git a/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStream.java b/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStream.java index 7141c6a6537..1f81b2603e0 100644 --- a/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStream.java +++ b/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStream.java @@ -245,7 +245,7 @@ private void applyPaxHeadersToCurrentEntry(final Map headers, fi } /** - * Get the available data that can be read from the current + * Gets the available data that can be read from the current * entry in the archive. This does not indicate how much data * is left in the entire archive, only in the current entry. * This value is determined from the entry's size header field @@ -375,7 +375,7 @@ private long getActuallySkipped(final long available, final long skipped, final } /** - * Get the current TAR Archive Entry that this input stream is processing + * Gets the current TAR Archive Entry that this input stream is processing * * @return The current Archive Entry */ @@ -384,7 +384,7 @@ public TarArchiveEntry getCurrentEntry() { } /** - * Get the next entry in this tar archive as long name data. + * Gets the next entry in this tar archive as long name data. * * @return The next entry in the archive as long name data, or null. * @throws IOException on error @@ -527,7 +527,7 @@ public TarArchiveEntry getNextTarEntry() throws IOException { } /** - * Get the next record in this tar archive. This will skip + * Gets the next record in this tar archive. This will skip * over any remaining data in the current entry, if there * is one, and place the input stream at the header of the * next entry. @@ -552,7 +552,7 @@ private byte[] getRecord() throws IOException { } /** - * Get the record size being used by this stream's buffer. + * Gets the record size being used by this stream's buffer. * * @return The TarBuffer record size. */ diff --git a/src/main/java/org/apache/commons/compress/archivers/tar/TarFile.java b/src/main/java/org/apache/commons/compress/archivers/tar/TarFile.java index 3c4107ddff0..064e5b2adde 100644 --- a/src/main/java/org/apache/commons/compress/archivers/tar/TarFile.java +++ b/src/main/java/org/apache/commons/compress/archivers/tar/TarFile.java @@ -394,7 +394,7 @@ private void consumeRemainderOfLastBlock() throws IOException { } /** - * Get all TAR Archive Entries from the TarFile + * Gets all TAR Archive Entries from the TarFile * * @return All entries from the tar file */ @@ -417,7 +417,7 @@ public InputStream getInputStream(final TarArchiveEntry entry) throws IOExceptio } /** - * Get the next entry in this tar archive as long name data. + * Gets the next entry in this tar archive as long name data. * * @return The next entry in the archive as long name data, or null. * @throws IOException on error @@ -449,7 +449,7 @@ private byte[] getLongNameData() throws IOException { } /** - * Get the next entry in this tar archive. This will skip + * Gets the next entry in this tar archive. This will skip * to the end of the current entry, if there is one, and * place the position of the channel at the header of the * next entry, and read the header and instantiate a new @@ -537,7 +537,7 @@ private TarArchiveEntry getNextTarEntry() throws IOException { } /** - * Get the next record in this tar archive. This will skip + * Gets the next record in this tar archive. This will skip * over any remaining data in the current entry, if there * is one, and place the input stream at the header of the * next entry. diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/AsiExtraField.java b/src/main/java/org/apache/commons/compress/archivers/zip/AsiExtraField.java index 89e202f2d6b..8d34e0fa400 100644 --- a/src/main/java/org/apache/commons/compress/archivers/zip/AsiExtraField.java +++ b/src/main/java/org/apache/commons/compress/archivers/zip/AsiExtraField.java @@ -121,7 +121,7 @@ public ZipShort getCentralDirectoryLength() { } /** - * Get the group id. + * Gets the group id. * @return the group id */ public int getGroupId() { @@ -205,7 +205,7 @@ public int getMode() { } /** - * Get the file mode for given permissions with the correct file type. + * Gets the file mode for given permissions with the correct file type. * @param mode the mode * @return the type with the mode */ @@ -220,7 +220,7 @@ protected int getMode(final int mode) { } /** - * Get the user id. + * Gets the user id. * @return the user id */ public int getUserId() { diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/PKWareExtraHeader.java b/src/main/java/org/apache/commons/compress/archivers/zip/PKWareExtraHeader.java index 30810100879..b4f584310af 100644 --- a/src/main/java/org/apache/commons/compress/archivers/zip/PKWareExtraHeader.java +++ b/src/main/java/org/apache/commons/compress/archivers/zip/PKWareExtraHeader.java @@ -205,7 +205,7 @@ protected final void assertMinimalLength(final int minimum, final int length) } /** - * Get the central data. + * Gets the central data. * * @return the central data if present, else return the local file data */ @@ -218,7 +218,7 @@ public byte[] getCentralDirectoryData() { } /** - * Get the central data length. If there is no central data, get the local + * Gets the central data length. If there is no central data, get the local * file data length. * * @return the central data length @@ -232,7 +232,7 @@ public ZipShort getCentralDirectoryLength() { } /** - * Get the header id. + * Gets the header id. * * @return the header id */ @@ -242,7 +242,7 @@ public ZipShort getHeaderId() { } /** - * Get the local data. + * Gets the local data. * * @return the local data */ @@ -252,7 +252,7 @@ public byte[] getLocalFileDataData() { } /** - * Get the length of the local data. + * Gets the length of the local data. * * @return the length of the local data */ diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/UnrecognizedExtraField.java b/src/main/java/org/apache/commons/compress/archivers/zip/UnrecognizedExtraField.java index f738292521e..ca35d79bfb0 100644 --- a/src/main/java/org/apache/commons/compress/archivers/zip/UnrecognizedExtraField.java +++ b/src/main/java/org/apache/commons/compress/archivers/zip/UnrecognizedExtraField.java @@ -48,7 +48,7 @@ public class UnrecognizedExtraField implements ZipExtraField { private byte[] centralData; /** - * Get the central data. + * Gets the central data. * @return the central data if present, else return the local file data */ @Override @@ -60,7 +60,7 @@ public byte[] getCentralDirectoryData() { } /** - * Get the central data length. + * Gets the central data length. * If there is no central data, get the local file data length. * @return the central data length */ @@ -73,7 +73,7 @@ public ZipShort getCentralDirectoryLength() { } /** - * Get the header id. + * Gets the header id. * @return the header id */ @Override @@ -82,7 +82,7 @@ public ZipShort getHeaderId() { } /** - * Get the local data. + * Gets the local data. * @return the local data */ @Override @@ -91,7 +91,7 @@ public byte[] getLocalFileDataData() { } /** - * Get the length of the local data. + * Gets the length of the local data. * @return the length of the local data */ @Override diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/X0015_CertificateIdForFile.java b/src/main/java/org/apache/commons/compress/archivers/zip/X0015_CertificateIdForFile.java index 912e21bf8b7..0efaad42852 100644 --- a/src/main/java/org/apache/commons/compress/archivers/zip/X0015_CertificateIdForFile.java +++ b/src/main/java/org/apache/commons/compress/archivers/zip/X0015_CertificateIdForFile.java @@ -54,7 +54,7 @@ public X0015_CertificateIdForFile() { } /** - * Get hash algorithm. + * Gets hash algorithm. * @return the hash algorithm */ public HashAlgorithm getHashAlgorithm() { @@ -62,7 +62,7 @@ public HashAlgorithm getHashAlgorithm() { } /** - * Get record count. + * Gets record count. * @return the record count */ public int getRecordCount() { diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/X0016_CertificateIdForCentralDirectory.java b/src/main/java/org/apache/commons/compress/archivers/zip/X0016_CertificateIdForCentralDirectory.java index 3547f6740f1..4619142960a 100644 --- a/src/main/java/org/apache/commons/compress/archivers/zip/X0016_CertificateIdForCentralDirectory.java +++ b/src/main/java/org/apache/commons/compress/archivers/zip/X0016_CertificateIdForCentralDirectory.java @@ -54,7 +54,7 @@ public X0016_CertificateIdForCentralDirectory() { } /** - * Get hash algorithm. + * Gets hash algorithm. * @return the hash algorithm */ public HashAlgorithm getHashAlgorithm() { @@ -62,7 +62,7 @@ public HashAlgorithm getHashAlgorithm() { } /** - * Get record count. + * Gets record count. * @return the record count */ public int getRecordCount() { diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/X0017_StrongEncryptionHeader.java b/src/main/java/org/apache/commons/compress/archivers/zip/X0017_StrongEncryptionHeader.java index 875ba9a7fd7..2ec9c587828 100644 --- a/src/main/java/org/apache/commons/compress/archivers/zip/X0017_StrongEncryptionHeader.java +++ b/src/main/java/org/apache/commons/compress/archivers/zip/X0017_StrongEncryptionHeader.java @@ -282,7 +282,7 @@ private void assertDynamicLengthFits(final String what, final int dynamicLength, } /** - * Get encryption algorithm. + * Gets encryption algorithm. * @return the encryption algorithm */ public EncryptionAlgorithm getEncryptionAlgorithm() { @@ -290,7 +290,7 @@ public EncryptionAlgorithm getEncryptionAlgorithm() { } /** - * Get hash algorithm. + * Gets hash algorithm. * @return the hash algorithm */ public HashAlgorithm getHashAlgorithm() { @@ -298,7 +298,7 @@ public HashAlgorithm getHashAlgorithm() { } /** - * Get record count. + * Gets record count. * @return the record count */ public long getRecordCount() { 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 ab3e0e36458..5c6886ce2a2 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 @@ -558,7 +558,7 @@ private ZipExtraField[] getAllExtraFields() { } /** - * Get all extra fields, including unparseable ones. + * Gets all extra fields, including unparseable ones. * @return An array of all extra fields. Not necessarily a copy of internal data structures, hence private method */ private ZipExtraField[] getAllExtraFieldsNoCopy() { @@ -777,7 +777,7 @@ public int getMethod() { } /** - * Get the name of the entry. + * Gets the name of the entry. * *

This method returns the raw name as it is stored inside of the archive.

* @@ -923,7 +923,7 @@ public int getVersionRequired() { } /** - * Get the hash code of the entry. + * Gets the hash code of the entry. * This uses the name as the hash code. * @return a hash code. */ diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStream.java b/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStream.java index 7e4294e6251..b6797a0d26f 100644 --- a/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStream.java +++ b/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStream.java @@ -673,7 +673,7 @@ private boolean findEocdRecord() throws IOException { } /** - * Get the number of bytes Inflater has actually processed. + * Gets the number of bytes Inflater has actually processed. * *

for Java < Java7 the getBytes* methods in * Inflater/Deflater seem to return unsigned ints rather than diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveOutputStream.java b/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveOutputStream.java index ab6d797e3ba..bbf4be711f9 100644 --- a/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveOutputStream.java +++ b/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveOutputStream.java @@ -1134,7 +1134,7 @@ private ByteBuffer getName(final ZipArchiveEntry ze) throws IOException { } /** - * Get the existing ZIP64 extended information extra field or + * Gets the existing ZIP64 extended information extra field or * create a new one and add it to the entry. * * @since 1.3 diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/ZipEightByteInteger.java b/src/main/java/org/apache/commons/compress/archivers/zip/ZipEightByteInteger.java index da4e755cb5f..69d815bdae6 100644 --- a/src/main/java/org/apache/commons/compress/archivers/zip/ZipEightByteInteger.java +++ b/src/main/java/org/apache/commons/compress/archivers/zip/ZipEightByteInteger.java @@ -65,7 +65,7 @@ public final class ZipEightByteInteger implements Serializable { public static final ZipEightByteInteger ZERO = new ZipEightByteInteger(0); /** - * Get value as eight bytes in big endian byte order. + * Gets value as eight bytes in big endian byte order. * @param value the value to convert * @return value as eight bytes in big endian byte order */ @@ -87,7 +87,7 @@ public static byte[] getBytes(final BigInteger value) { } /** - * Get value as eight bytes in big endian byte order. + * Gets value as eight bytes in big endian byte order. * @param value the value to convert * @return value as eight bytes in big endian byte order */ @@ -194,7 +194,7 @@ public boolean equals(final Object o) { } /** - * Get value as eight bytes in big endian byte order. + * Gets value as eight bytes in big endian byte order. * @return value as eight bytes in big endian order */ public byte[] getBytes() { @@ -202,7 +202,7 @@ public byte[] getBytes() { } /** - * Get value as Java long. + * Gets value as Java long. * @return value as a long */ public long getLongValue() { @@ -210,7 +210,7 @@ public long getLongValue() { } /** - * Get value as Java BigInteger. + * Gets value as Java BigInteger. * @return value as a BigInteger */ public BigInteger getValue() { diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/ZipLong.java b/src/main/java/org/apache/commons/compress/archivers/zip/ZipLong.java index 7e74936bc77..b43a3e0f8a1 100644 --- a/src/main/java/org/apache/commons/compress/archivers/zip/ZipLong.java +++ b/src/main/java/org/apache/commons/compress/archivers/zip/ZipLong.java @@ -71,7 +71,7 @@ public final class ZipLong implements Cloneable, Serializable { public static final ZipLong AED_SIG = new ZipLong(0X08064B50L); /** - * Get value as four bytes in big endian byte order. + * Gets value as four bytes in big endian byte order. * @param value the value to convert * @return value as four bytes in big endian byte order */ @@ -173,7 +173,7 @@ public boolean equals(final Object o) { } /** - * Get value as four bytes in big endian byte order. + * Gets value as four bytes in big endian byte order. * @return value as four bytes in big endian order */ public byte[] getBytes() { @@ -181,14 +181,14 @@ public byte[] getBytes() { } /** - * Get value as a (signed) java int + * Gets value as a (signed) java int * @return value as int * @since 1.15 */ public int getIntValue() { return (int) value;} /** - * Get value as Java long. + * Gets value as Java long. * @return value as a long */ public long getValue() { diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/ZipShort.java b/src/main/java/org/apache/commons/compress/archivers/zip/ZipShort.java index f40a1a1f451..deb76892535 100644 --- a/src/main/java/org/apache/commons/compress/archivers/zip/ZipShort.java +++ b/src/main/java/org/apache/commons/compress/archivers/zip/ZipShort.java @@ -35,7 +35,7 @@ public final class ZipShort implements Cloneable, Serializable { private static final long serialVersionUID = 1L; /** - * Get value as two bytes in big endian byte order. + * Gets value as two bytes in big endian byte order. * @param value the Java int to convert to bytes * @return the converted int as a byte array in big endian byte order */ @@ -127,7 +127,7 @@ public boolean equals(final Object o) { } /** - * Get value as two bytes in big endian byte order. + * Gets value as two bytes in big endian byte order. * @return the value as a two byte array in big endian byte order */ public byte[] getBytes() { @@ -137,7 +137,7 @@ public byte[] getBytes() { } /** - * Get value as Java int. + * Gets value as Java int. * @return value as a Java int */ public int getValue() { diff --git a/src/main/java/org/apache/commons/compress/compressors/lz77support/AbstractLZ77CompressorInputStream.java b/src/main/java/org/apache/commons/compress/compressors/lz77support/AbstractLZ77CompressorInputStream.java index 788e5f2d1ec..b7e46213a48 100644 --- a/src/main/java/org/apache/commons/compress/compressors/lz77support/AbstractLZ77CompressorInputStream.java +++ b/src/main/java/org/apache/commons/compress/compressors/lz77support/AbstractLZ77CompressorInputStream.java @@ -158,7 +158,7 @@ public long getCompressedCount() { } /** - * Get the uncompressed size of the stream + * Gets the uncompressed size of the stream * * @return the uncompressed size */ diff --git a/src/main/java/org/apache/commons/compress/compressors/snappy/SnappyCompressorInputStream.java b/src/main/java/org/apache/commons/compress/compressors/snappy/SnappyCompressorInputStream.java index 8a4dbcd3192..2a305ca9414 100644 --- a/src/main/java/org/apache/commons/compress/compressors/snappy/SnappyCompressorInputStream.java +++ b/src/main/java/org/apache/commons/compress/compressors/snappy/SnappyCompressorInputStream.java @@ -204,7 +204,7 @@ private void fill() throws IOException { } /** - * Get the uncompressed size of the stream + * Gets the uncompressed size of the stream * * @return the uncompressed size */ diff --git a/src/main/java/org/apache/commons/compress/harmony/unpack200/NewAttributeBands.java b/src/main/java/org/apache/commons/compress/harmony/unpack200/NewAttributeBands.java index 8402b7cd6e6..0202fad2894 100644 --- a/src/main/java/org/apache/commons/compress/harmony/unpack200/NewAttributeBands.java +++ b/src/main/java/org/apache/commons/compress/harmony/unpack200/NewAttributeBands.java @@ -620,7 +620,7 @@ public BHSDCodec getCodec(final String layoutElement) { } /** - * Get one attribute at the given index from the various bands. The correct bands must have already been read in. + * Gets one attribute at the given index from the various bands. The correct bands must have already been read in. * * @param index TODO * @param elements TODO