You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kh...@apache.org on 2018/06/21 19:09:11 UTC

[maven-remote-resources-plugin] 04/07: Fixed code.

This is an automated email from the ASF dual-hosted git repository.

khmarbaise pushed a commit to branch MRRESOURCES-104
in repository https://gitbox.apache.org/repos/asf/maven-remote-resources-plugin.git

commit 0a0ff07320887d292a532ed7ee0b03a664f37734
Author: Karl Heinz Marbaise <kh...@apache.org>
AuthorDate: Sun Apr 8 00:22:07 2018 +0200

    Fixed code.
---
 .../org/apache/maven/plugin/resources/remote/it/support/TestUtils.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/test/java/org/apache/maven/plugin/resources/remote/it/support/TestUtils.java b/src/test/java/org/apache/maven/plugin/resources/remote/it/support/TestUtils.java
index f43d804..366aa16 100644
--- a/src/test/java/org/apache/maven/plugin/resources/remote/it/support/TestUtils.java
+++ b/src/test/java/org/apache/maven/plugin/resources/remote/it/support/TestUtils.java
@@ -21,7 +21,6 @@ package org.apache.maven.plugin.resources.remote.it.support;
 
 import java.io.File;
 import java.io.IOException;
-import java.net.URI;
 import java.net.URISyntaxException;
 import java.net.URL;
 
@@ -41,7 +40,7 @@ public class TestUtils
             throw new IOException( "Cannot find test directory: " + name );
         }
 
-        return new File( new URI( resource.toExternalForm() ).normalize().getPath() );
+        return new File( resource.toURI().normalize().getPath() );
     }
 
     public static File getBaseDir()