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 2020/12/05 15:05:05 UTC

[commons-vfs] branch master updated: Add modified test case for VFS-790 that does not create a URI with an un-escaped nb-sp.

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 43295fd  Add modified test case for VFS-790 that does not create a URI with an un-escaped nb-sp.
43295fd is described below

commit 43295fd65dc2cae44abd40daa03236e85060ad23
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Dec 5 10:05:01 2020 -0500

    Add modified test case for VFS-790 that does not create a URI with an
    un-escaped nb-sp.
---
 .../java/org/apache/commons/vfs2/provider/local/test/FileNameTests.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/local/test/FileNameTests.java b/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/local/test/FileNameTests.java
index 35257de..f3da521 100644
--- a/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/local/test/FileNameTests.java
+++ b/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/local/test/FileNameTests.java
@@ -56,7 +56,7 @@ public class FileNameTests extends AbstractProviderTestCase {
      * https://issues.apache.org/jira/browse/VFS-790
      */
     @Test
-    public final static void testLocalFile() throws Exception {
+    public void testLocalFile() throws Exception {
         final String prefix = new String(new char[] { '\u0074', '\u0065', '\u0074' });
         final File f = File.createTempFile(prefix + "-", "-" + prefix);
         assertTrue(f.exists());