beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dhalp...@apache.org
Subject [45/50] [abbrv] incubator-beam git commit: Added even more javadoc to TextIO#withHeader and TextIO#withFooter.
Date Tue, 13 Sep 2016 00:41:16 GMT
Added even more javadoc to TextIO#withHeader and TextIO#withFooter.


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

Branch: refs/heads/gearpump-runner
Commit: e5db1c78bbc910db31f7a324ea2f3f48b4a0de3e
Parents: 5084580
Author: Stas Levin <staslevin@gmail.com>
Authored: Wed Sep 7 18:38:28 2016 +0300
Committer: Dan Halperin <dhalperi@google.com>
Committed: Mon Sep 12 17:40:14 2016 -0700

----------------------------------------------------------------------
 sdks/java/core/src/main/java/org/apache/beam/sdk/io/TextIO.java | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/e5db1c78/sdks/java/core/src/main/java/org/apache/beam/sdk/io/TextIO.java
----------------------------------------------------------------------
diff --git a/sdks/java/core/src/main/java/org/apache/beam/sdk/io/TextIO.java b/sdks/java/core/src/main/java/org/apache/beam/sdk/io/TextIO.java
index e75aaa9..f09ab6c 100644
--- a/sdks/java/core/src/main/java/org/apache/beam/sdk/io/TextIO.java
+++ b/sdks/java/core/src/main/java/org/apache/beam/sdk/io/TextIO.java
@@ -452,6 +452,8 @@ public class TextIO {
      * Returns a transform for writing to text files that adds a header string to the files
      * it writes.
      *
+     *<p> A <code>null</code> value will clear any previously configured
header.</p>
+     *
      * @param header the string to be added as file header
      */
     public static Bound<String> withHeader(String header) {
@@ -462,6 +464,8 @@ public class TextIO {
      * Returns a transform for writing to text files that adds a footer string to the files
      * it writes.
      *
+     *<p> A <code>null</code> value will clear any previously configured
footer.</p>
+     *
      * @param footer the string to be added as file footer
      */
     public static Bound<String> withFooter(String footer) {


Mime
View raw message