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 <khmarba...@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 khmarba...@apache.org.