flink-commits mailing list archives

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


Mime
View raw message