You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/10/31 10:11:29 UTC
(commons-compress) 02/02: Normalize spelling to US English
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
commit 7e97111885ae4b28f1bfb6881b4f340dcfef61aa
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Oct 31 06:11:21 2023 -0400
Normalize spelling to US English
---
.../apache/commons/compress/archivers/tar/TarArchiveInputStream.java | 2 +-
.../compress/compressors/bzip2/BZip2CompressorOutputStream.java | 4 ++--
.../apache/commons/compress/harmony/unpack200/NewAttributeBands.java | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
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 9320420e..7141c6a6 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
@@ -86,7 +86,7 @@ public class TarArchiveInputStream extends ArchiveInputStream<TarArchiveEntry> {
){
return true;
}
- // COMPRESS-107 - recognise Ant tar files
+ // COMPRESS-107 - recognize Ant tar files
return ArchiveUtils.matchAsciiBuffer(TarConstants.MAGIC_ANT,
signature, TarConstants.MAGIC_OFFSET, TarConstants.MAGICLEN)
&&
diff --git a/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorOutputStream.java b/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorOutputStream.java
index 207c0874..1c6de7e9 100644
--- a/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorOutputStream.java
+++ b/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorOutputStream.java
@@ -714,7 +714,7 @@ public class BZip2CompressorOutputStream extends CompressorOutputStream
/**
* Writes magic bytes like BZ on the first position of the stream
* and bytes indicating the file-format, which is
- * huffmanised, followed by a digit indicating blockSize100k.
+ * huffmanized, followed by a digit indicating blockSize100k.
* @throws IOException if the magic bytes could not been written
*/
private void init() throws IOException {
@@ -724,7 +724,7 @@ public class BZip2CompressorOutputStream extends CompressorOutputStream
this.data = new Data(this.blockSize100k);
this.blockSorter = new BlockSort(this.data);
- // huffmanised magic bytes
+ // huffmanized magic bytes
bsPutUByte('h');
bsPutUByte('0' + this.blockSize100k);
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 2de227c9..8402b7cd 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
@@ -688,7 +688,7 @@ public class NewAttributeBands extends BandSet {
}
/**
- * Tokenise the layout into AttributeElements
+ * Tokenize the layout into AttributeElements
*
* @throws IOException If an I/O error occurs.
*/