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-vfs.git

commit 7c83a0eeef87214cd14e695806af9b1b08ea9383
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Mar 28 08:09:33 2021 -0400

    Normalize to US spelling (pun unintended).
---
 .../java/org/apache/commons/vfs2/provider/HostFileNameParser.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/HostFileNameParser.java
 
b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/HostFileNameParser.java
index 07c90ce..a3bcb7c 100644
--- 
a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/HostFileNameParser.java
+++ 
b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/HostFileNameParser.java
@@ -279,7 +279,7 @@ public class HostFileNameParser extends 
AbstractFileNameParser {
             }
         }
 
-        // Extract hostname, and normalise (lowercase)
+        // Extract hostname, and normalize (lowercase)
         final String hostName = extractHostName(name);
         if (hostName == null) {
             throw new 
FileSystemException("vfs.provider/missing-hostname.error", uri);
@@ -336,7 +336,7 @@ public class HostFileNameParser extends 
AbstractFileNameParser {
         // Extract the scheme and authority parts
         final Authority auth = extractToPath(context, fileName, name);
 
-        // Decode and normalise the file name
+        // Decode and normalize the file name
         UriParser.canonicalizePath(name, 0, name.length(), this);
         UriParser.fixSeparators(name);
         final FileType fileType = UriParser.normalisePath(name);

Reply via email to