Github user manuzhang commented on a diff in the pull request:

    https://github.com/apache/incubator-gearpump/pull/131#discussion_r95956884
  
    --- Diff: 
streaming/src/main/scala/org/apache/gearpump/streaming/dsl/javaapi/JavaStream.scala
 ---
    @@ -31,23 +31,23 @@ import org.apache.gearpump.streaming.task.Task
     class JavaStream[T](val stream: Stream[T]) {
     
       /** FlatMap on stream */
    -  def flatMap[R](fn: FlatMapFunction[T, R], description: String): 
JavaStream[R] = {
    -    new JavaStream[R](stream.flatMap({ t: T => fn(t).asScala }, 
description))
    +  def flatMap[R](fn: functions.FlatMapFunction[T, R], description: 
String): JavaStream[R] = {
    +    new JavaStream[R](stream.flatMap(FlatMapFunction(fn), "flatMap"))
    --- End diff --
    
    updated


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to