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 MapThis 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 ListThis 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 This method returns the raw name as it is stored inside of the archive. 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