This is an automated email from the ASF dual-hosted git repository.
peterlee 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 f41756f typos fix
f41756f is described below
commit f41756f8024930384a60c5c57eb9eb2913ce1ae0
Author: PeterAlfredLee <[email protected]>
AuthorDate: Mon Jul 6 20:53:49 2020 +0800
typos fix
---
src/changes/changes.xml | 2 +-
.../apache/commons/compress/archivers/ar/ArArchiveInputStream.java | 2 +-
.../org/apache/commons/compress/archivers/arj/ArjArchiveEntry.java | 2 +-
.../apache/commons/compress/archivers/dump/DumpArchiveSummary.java | 4 ++--
.../java/org/apache/commons/compress/archivers/sevenz/CoderBase.java | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 377e2e6..b2b17d2 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -80,7 +80,7 @@ The <action> type attribute can be add,update,fix,remove.
<action issue="COMPRESS-518" type="fix" date="2020-05-23">
ZipArchiveInputStream and ZipFile will now throw an
IOException rather than a RuntimeException if the zip64 extra
- field of an enty could not be parsed.
+ field of an entry could not be parsed.
</action>
<action issue="COMPRESS-523" type="fix" date="2020-05-23">
Improved detection of corrupt ZIP archives in ZipArchiveInputStream.
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 1e367de..ca45d9e 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
@@ -41,7 +41,7 @@ public class ArArchiveInputStream extends ArchiveInputStream {
private boolean closed;
/*
- * If getNextEnxtry has been called, the entry metadata is stored in
+ * If getNextEntry has been called, the entry metadata is stored in
* currentEntry.
*/
private ArArchiveEntry currentEntry = null;
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 22d1f5d..947a751 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
@@ -87,7 +87,7 @@ public class ArjArchiveEntry implements ArchiveEntry {
* machine in timezone UTC this method will return midnight
* regardless of timezone if the archive has been created on a
* non-Unix system and a time taking the current timezone into
- * account if the archive has beeen created on Unix.</p>
+ * account if the archive has been created on Unix.</p>
*
* @return the last modified date
*/
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 55e7a78..47db7ff 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
@@ -278,8 +278,8 @@ public class DumpArchiveSummary {
}
/**
- * Does this volume cotain extended attributes.
- * @return true if volume cotains extended attributes.
+ * Does this volume contain extended attributes.
+ * @return true if volume contains extended attributes.
*/
public boolean isExtendedAttributes() {
return (flags & 0x8000) == 0x8000;
diff --git
a/src/main/java/org/apache/commons/compress/archivers/sevenz/CoderBase.java
b/src/main/java/org/apache/commons/compress/archivers/sevenz/CoderBase.java
index e1f6086..d4ea715 100644
--- a/src/main/java/org/apache/commons/compress/archivers/sevenz/CoderBase.java
+++ b/src/main/java/org/apache/commons/compress/archivers/sevenz/CoderBase.java
@@ -65,7 +65,7 @@ abstract class CoderBase {
* @return a stream that reads from in using the configured coder and
password.
*/
abstract InputStream decode(final String archiveName,
- final InputStream in, long uncomressedLength,
+ final InputStream in, long uncompressedLength,
final Coder coder, byte[] password, int maxMemoryLimitInKb) throws
IOException;
/**