flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ches...@apache.org
Subject [09/16] flink git commit: [FLINK-6987] Fix TextInputFormatTest for paths with spaces
Date Sat, 01 Jul 2017 10:06:42 GMT
[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 <zml13856086071@163.com>
Authored: Tue Jun 27 11:34:37 2017 +0800
Committer: zentol <chesnay@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);
 


Mime
View raw message