Repository: beam
Updated Branches:
  refs/heads/master c9e55a436 -> 026aec856


Fix Regex#AllMatches javadoc


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

Branch: refs/heads/master
Commit: b49bae3a5881778e051ca7b285ac6ce5938239f4
Parents: c9e55a4
Author: wtanaka.com <[email protected]>
Authored: Sun Mar 26 01:07:54 2017 -1000
Committer: Ismaël Mejía <[email protected]>
Committed: Mon Mar 27 05:19:51 2017 +0200

----------------------------------------------------------------------
 .../src/main/java/org/apache/beam/sdk/transforms/Regex.java   | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/b49bae3a/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/Regex.java
----------------------------------------------------------------------
diff --git 
a/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/Regex.java 
b/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/Regex.java
index 7e85605..a494fc9 100644
--- a/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/Regex.java
+++ b/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/Regex.java
@@ -486,7 +486,8 @@ public class Regex {
 
   /**
    * {@code Regex.MatchesName<String>} takes a {@code PCollection<String>} and 
returns a {@code
-   * PCollection<String>} representing the value extracted from all the Regex 
groups of the input
+   * PCollection<List<String>>} representing the value extracted from all the
+   * Regex groups of the input
    * {@code PCollection} to the number of times that element occurs in the 
input.
    *
    * <p>This transform runs a Regex on the entire input line. If the entire 
line does not match the
@@ -497,8 +498,8 @@ public class Regex {
    *
    * <pre>{@code
    * PCollection<String> words = ...;
-   * PCollection<String> values =
-   *     words.apply(Regex.matches("myregex (mygroup)"));
+   * PCollection<List<String>> values =
+   *     words.apply(Regex.allMatches("myregex (mygroup)"));
    * }</pre>
    */
   public static class AllMatches

Reply via email to