Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D5E1F200CB8 for ; Sat, 1 Jul 2017 10:01:39 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D4A4B160BD2; Sat, 1 Jul 2017 08:01:39 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 291C2160BEA for ; Sat, 1 Jul 2017 10:01:39 +0200 (CEST) Received: (qmail 46431 invoked by uid 500); 1 Jul 2017 08:01:38 -0000 Mailing-List: contact commits-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list commits@flink.apache.org Received: (qmail 46412 invoked by uid 99); 1 Jul 2017 08:01:38 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Jul 2017 08:01:38 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 075E4DFB8A; Sat, 1 Jul 2017 08:01:36 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: chesnay@apache.org To: commits@flink.apache.org Date: Sat, 01 Jul 2017 08:01:39 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [4/5] flink git commit: [FLINK-6987] Fix TextInputFormatTest for paths with spaces archived-at: Sat, 01 Jul 2017 08:01:40 -0000 [FLINK-6987] Fix TextInputFormatTest for paths with spaces Project: http://git-wip-us.apache.org/repos/asf/flink/repo Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/c0ad4699 Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/c0ad4699 Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/c0ad4699 Branch: refs/heads/release-1.3 Commit: c0ad4699af12454f54ff1dd977c6fc562f09a304 Parents: c65317d Author: zhangminglei Authored: Tue Jun 27 11:34:37 2017 +0800 Committer: zentol Committed: Fri Jun 30 08:51:49 2017 +0200 ---------------------------------------------------------------------- .../java/org/apache/flink/api/java/io/TextInputFormatTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flink/blob/c0ad4699/flink-java/src/test/java/org/apache/flink/api/java/io/TextInputFormatTest.java ---------------------------------------------------------------------- diff --git a/flink-java/src/test/java/org/apache/flink/api/java/io/TextInputFormatTest.java b/flink-java/src/test/java/org/apache/flink/api/java/io/TextInputFormatTest.java index 4a52eea..6bff9db 100644 --- a/flink-java/src/test/java/org/apache/flink/api/java/io/TextInputFormatTest.java +++ b/flink-java/src/test/java/org/apache/flink/api/java/io/TextInputFormatTest.java @@ -108,7 +108,7 @@ public class TextInputFormatTest { } File parentDir = new File("tmp"); - TextInputFormat inputFormat = new TextInputFormat(new Path(parentDir.toURI().toString())); + TextInputFormat inputFormat = new TextInputFormat(new Path(parentDir.toURI())); inputFormat.setNestedFileEnumeration(true); inputFormat.setNumLineSamples(10);