flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject [2/7] flink git commit: [hotfix] Trivial WriteMode comment fix
Date Sun, 27 Dec 2015 12:13:36 GMT
[hotfix] Trivial WriteMode comment fix

WriteMode has 2 values NO_OVERWRITE and OVERWRITE but it refers CREATE in the javadoc.
Probably old code.

This closes #1475


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

Branch: refs/heads/master
Commit: afd2016a520531d390d8b994867a9646999a4902
Parents: da751e8
Author: Jun Aoki <jaoki@apache.org>
Authored: Wed Dec 23 19:20:27 2015 -0800
Committer: Stephan Ewen <sewen@apache.org>
Committed: Sat Dec 26 18:56:42 2015 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/flink/core/fs/FileSystem.java   | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/afd2016a/flink-core/src/main/java/org/apache/flink/core/fs/FileSystem.java
----------------------------------------------------------------------
diff --git a/flink-core/src/main/java/org/apache/flink/core/fs/FileSystem.java b/flink-core/src/main/java/org/apache/flink/core/fs/FileSystem.java
index ae44213..c2de956 100644
--- a/flink-core/src/main/java/org/apache/flink/core/fs/FileSystem.java
+++ b/flink-core/src/main/java/org/apache/flink/core/fs/FileSystem.java
@@ -471,12 +471,12 @@ public abstract class FileSystem {
 	/**
 	 * Initializes output directories on local file systems according to the given write mode.
 	 * 
-	 * WriteMode.CREATE &amp; parallel output:
+	 * WriteMode.NO_OVERWRITE &amp; parallel output:
 	 *  - A directory is created if the output path does not exist.
 	 *  - An existing directory is reused, files contained in the directory are NOT deleted.
 	 *  - An existing file raises an exception.
 	 *    
-	 * WriteMode.CREATE &amp; NONE parallel output:
+	 * WriteMode.NO_OVERWRITE &amp; NONE parallel output:
 	 *  - An existing file or directory raises an exception.
 	 *  
 	 * WriteMode.OVERWRITE &amp; parallel output:
@@ -632,11 +632,11 @@ public abstract class FileSystem {
 	/**
 	 * Initializes output directories on distributed file systems according to the given write
mode.
 	 * 
-	 * WriteMode.CREATE &amp; parallel output:
+	 * WriteMode.NO_OVERWRITE &amp; parallel output:
 	 *  - A directory is created if the output path does not exist.
 	 *  - An existing file or directory raises an exception.
 	 * 
-	 * WriteMode.CREATE &amp; NONE parallel output:
+	 * WriteMode.NO_OVERWRITE &amp; NONE parallel output:
 	 *  - An existing file or directory raises an exception. 
 	 *    
 	 * WriteMode.OVERWRITE &amp; parallel output:


Mime
View raw message