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 36a33fe  Normalize to US English spelling.
36a33fe is described below

commit 36a33fefa9596a8fc220a8c8092c1ece0376a158
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Feb 8 14:03:46 2021 -0500

    Normalize to US English spelling.
---
 .../apache/commons/compress/archivers/cpio/CpioArchiveInputStream.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/commons/compress/archivers/cpio/CpioArchiveInputStream.java
 
b/src/main/java/org/apache/commons/compress/archivers/cpio/CpioArchiveInputStream.java
index 831f5a4..b4bf39d 100644
--- 
a/src/main/java/org/apache/commons/compress/archivers/cpio/CpioArchiveInputStream.java
+++ 
b/src/main/java/org/apache/commons/compress/archivers/cpio/CpioArchiveInputStream.java
@@ -378,7 +378,7 @@ public class CpioArchiveInputStream extends 
ArchiveInputStream implements
 
         ret.setInode(readAsciiLong(8, 16));
         final long mode = readAsciiLong(8, 16);
-        if (CpioUtil.fileType(mode) != 0){ // mode is initialised to 0
+        if (CpioUtil.fileType(mode) != 0){ // mode is initialized to 0
             ret.setMode(mode);
         }
         ret.setUID(readAsciiLong(8, 16));

Reply via email to