From commits-return-74020-archive-asf-public=cust-asf.ponee.io@maven.apache.org Thu Jun 21 21:09:10 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id AD1AC18077B for ; Thu, 21 Jun 2018 21:09:09 +0200 (CEST) Received: (qmail 45264 invoked by uid 500); 21 Jun 2018 19:09:08 -0000 Mailing-List: contact commits-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list commits@maven.apache.org Received: (qmail 44970 invoked by uid 99); 21 Jun 2018 19:09:08 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jun 2018 19:09:08 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id E505D850A3; Thu, 21 Jun 2018 19:09:07 +0000 (UTC) Date: Thu, 21 Jun 2018 19:09:11 +0000 To: "commits@maven.apache.org" Subject: [maven-remote-resources-plugin] 04/07: Fixed code. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: khmarbaise@apache.org In-Reply-To: <152960814782.27276.5323645812966541325@gitbox.apache.org> References: <152960814782.27276.5323645812966541325@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: maven-remote-resources-plugin X-Git-Refname: refs/heads/MRRESOURCES-104 X-Git-Reftype: branch X-Git-Rev: 0a0ff07320887d292a532ed7ee0b03a664f37734 X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20180621190907.E505D850A3@gitbox.apache.org> 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 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()