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/04/07 22:22:20 UTC

[maven-remote-resources-plugin] branch MRRESOURCES-104 updated: 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


The following commit(s) were added to refs/heads/MRRESOURCES-104 by this push:
     new a95bdbc  Fixed code.
a95bdbc is described below

commit a95bdbc0c4b464d0c9ae060bc9b9aa1707fb47b0
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()

-- 
To stop receiving notification emails like this one, please contact
khmarbaise@apache.org.