You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2017/07/01 10:06:42 UTC

[09/16] flink git commit: [FLINK-6987] Fix TextInputFormatTest for paths with spaces

[FLINK-6987] Fix TextInputFormatTest for paths with spaces

This closes #4168.


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/c84a8285
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/c84a8285
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/c84a8285

Branch: refs/heads/master
Commit: c84a82854e715ebdf714b4f4ea09c73645e6cd5d
Parents: bb9505d
Author: zhangminglei <zm...@163.com>
Authored: Tue Jun 27 11:34:37 2017 +0800
Committer: zentol <ch...@apache.org>
Committed: Sat Jul 1 10:02:08 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/c84a8285/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);