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 2021/11/25 15:52:31 UTC
[commons-vfs] branch master updated: Better in-line comment.
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
The following commit(s) were added to refs/heads/master by this push:
new 284826d Better in-line comment.
284826d is described below
commit 284826d09b783633cf7ceb96da025058448978a1
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Nov 25 10:52:29 2021 -0500
Better in-line comment.
---
.../org/apache/commons/vfs2/provider/test/GenericFileNameTestCase.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/test/GenericFileNameTestCase.java b/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/test/GenericFileNameTestCase.java
index acb1194..ebfda7e 100644
--- a/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/test/GenericFileNameTestCase.java
+++ b/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/test/GenericFileNameTestCase.java
@@ -126,7 +126,7 @@ public class GenericFileNameTestCase extends AbstractVfsTestCase {
assertEquals("ftp://user:password@hostname/", name.getRootURI());
assertEquals("ftp://user:password@hostname/file", name.getURI());
- // Encoded username and password
+ // Encoded username and password: %75 -> 'u', %40 -> '@'
name = (GenericFileName) urlParser.parseUri(null, null, "ftp://%75ser%3A:%40@hostname");
assertEquals("ftp", name.getScheme());
assertEquals("user:", name.getUserName());