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 a021dd52 Fix typos
a021dd52 is described below
commit a021dd5204c7e409c3ae1e6e7aebbab31805394a
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Jan 15 07:57:34 2023 -0500
Fix typos
---
RELEASE-NOTES.txt | 2 +-
src/changes/changes.xml | 2 +-
src/changes/release-notes.vm | 2 +-
.../java/org/apache/commons/compress/archivers/zip/X000A_NTFS.java | 4 ++--
.../commons/compress/archivers/zip/X5455_ExtendedTimestamp.java | 2 +-
.../java/org/apache/commons/compress/archivers/zip/ZipExtraField.java | 2 +-
src/main/java/org/apache/commons/compress/archivers/zip/ZipShort.java | 2 +-
src/main/java/org/apache/commons/compress/utils/IOUtils.java | 2 +-
src/site/xdoc/zip.xml | 2 +-
9 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
index 63c7135a..46a68302 100644
--- a/RELEASE-NOTES.txt
+++ b/RELEASE-NOTES.txt
@@ -191,7 +191,7 @@ o Add the archive name in the exception in the constructor
of
o Throw IOException when it encounters a non-number while parsing pax
header.
Issue: COMPRESS-530.
-o Throw IOException when a a tar archive contains a PAX header
+o Throw IOException when a tar archive contains a PAX header
without any normal entry following it.
Issue: COMPRESS-531.
o Added improved checks to detect corrupted IMPLODED streams and
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 58d9f482..430aeda3 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -313,7 +313,7 @@ you relied on the recovery attempt.">
Throw IOException when it encounters a non-number while parsing pax
header.
</action>
<action issue="COMPRESS-531" type="fix" date="2020-05-31">
- Throw IOException when a a tar archive contains a PAX header
+ Throw IOException when a tar archive contains a PAX header
without any normal entry following it.
</action>
<action issue="COMPRESS-532" type="fix" date="2020-05-31">
diff --git a/src/changes/release-notes.vm b/src/changes/release-notes.vm
index 29f15f25..9018ec7e 100644
--- a/src/changes/release-notes.vm
+++ b/src/changes/release-notes.vm
@@ -255,7 +255,7 @@ o Add the archive name in the exception in the constructor
of
o Throw IOException when it encounters a non-number while parsing pax
header.
Issue: COMPRESS-530.
-o Throw IOException when a a tar archive contains a PAX header
+o Throw IOException when a tar archive contains a PAX header
without any normal entry following it.
Issue: COMPRESS-531.
o Added improved checks to detect corrupted IMPLODED streams and
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 a683660a..9b4594ef 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
@@ -191,7 +191,7 @@ public class X000A_NTFS implements ZipExtraField {
}
/**
- * Gets the create time as a a java.util.Date of this zip
+ * Gets the create time as 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.
@@ -256,7 +256,7 @@ public class X000A_NTFS implements ZipExtraField {
}
/**
- * Gets the modify time as as a {@link FileTime}
+ * Gets the modify time as a {@link FileTime}
* of this zip entry, or null if no such timestamp exists in the zip entry.
*
* @return modify time as a {@link FileTime} or null.
diff --git
a/src/main/java/org/apache/commons/compress/archivers/zip/X5455_ExtendedTimestamp.java
b/src/main/java/org/apache/commons/compress/archivers/zip/X5455_ExtendedTimestamp.java
index e665184d..39fb2ab1 100644
---
a/src/main/java/org/apache/commons/compress/archivers/zip/X5455_ExtendedTimestamp.java
+++
b/src/main/java/org/apache/commons/compress/archivers/zip/X5455_ExtendedTimestamp.java
@@ -278,7 +278,7 @@ public class X5455_ExtendedTimestamp implements
ZipExtraField, Cloneable, Serial
/**
* <p>
- * Gets the create time as a a java.util.Date
+ * Gets the create time as a java.util.Date
* of this zip entry, or null if no such timestamp exists in the zip entry.
* The milliseconds are always zeroed out, since the underlying data
* offers only per-second precision.
diff --git
a/src/main/java/org/apache/commons/compress/archivers/zip/ZipExtraField.java
b/src/main/java/org/apache/commons/compress/archivers/zip/ZipExtraField.java
index 13baddbd..906feed8 100644
--- a/src/main/java/org/apache/commons/compress/archivers/zip/ZipExtraField.java
+++ b/src/main/java/org/apache/commons/compress/archivers/zip/ZipExtraField.java
@@ -32,7 +32,7 @@ import java.util.zip.ZipException;
*/
public interface ZipExtraField {
/**
- * Size of an extra field field header (id + length).
+ * Size of an extra field header (id + length).
* @since 1.14
*/
int EXTRAFIELD_HEADER_SIZE = 4;
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 7edb4bc4..f14ba69f 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
@@ -129,7 +129,7 @@ public final class ZipShort implements Cloneable,
Serializable {
/**
* Get value as two bytes in big endian byte order.
- * @return the value as a a two byte array in big endian byte order
+ * @return the value as a two byte array in big endian byte order
*/
public byte[] getBytes() {
final byte[] result = new byte[2];
diff --git a/src/main/java/org/apache/commons/compress/utils/IOUtils.java
b/src/main/java/org/apache/commons/compress/utils/IOUtils.java
index 4e5fc3dc..17dc70ec 100644
--- a/src/main/java/org/apache/commons/compress/utils/IOUtils.java
+++ b/src/main/java/org/apache/commons/compress/utils/IOUtils.java
@@ -40,7 +40,7 @@ public final class IOUtils {
private static final int SKIP_BUF_SIZE = 4096;
/**
- * Empty array of of type {@link LinkOption}.
+ * Empty array of type {@link LinkOption}.
*
* @since 1.21
*/
diff --git a/src/site/xdoc/zip.xml b/src/site/xdoc/zip.xml
index 71f43400..a20435f9 100644
--- a/src/site/xdoc/zip.xml
+++ b/src/site/xdoc/zip.xml
@@ -163,7 +163,7 @@
<p>Split archives consist of multiple files that reside in the
same directory with the same base name (the file name without
- the file extension). The last file of the the archive has the
+ the file extension). The last file of the archive has the
extension <code>zip</code> the remaining files conventionally
use extensions <code>z01</code>, <code>z02</code> and so
on. Support for splitted archives has been added with Compress