[ https://issues.apache.org/jira/browse/FLINK-3551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15726026#comment-15726026 ]
ASF GitHub Bot commented on FLINK-3551: --------------------------------------- Github user thvasilo commented on a diff in the pull request: https://github.com/apache/flink/pull/2761#discussion_r91119955 --- Diff: flink-examples/flink-examples-streaming/src/main/scala/org/apache/flink/streaming/scala/examples/windowing/SessionWindowing.scala --- @@ -77,9 +79,8 @@ object SessionWindowing { .window(EventTimeSessionWindows.withGap(Time.milliseconds(3L))) .sum(2) - if (fileOutput) { - aggregated.writeAsText(params.get("output")) - } else { + if (fileOutput) aggregated.writeAsText(params.get("output")) --- End diff -- Same here, braces for if. > Sync Scala and Java Streaming Examples > -------------------------------------- > > Key: FLINK-3551 > URL: https://issues.apache.org/jira/browse/FLINK-3551 > Project: Flink > Issue Type: Sub-task > Components: Examples > Affects Versions: 1.0.0 > Reporter: Stephan Ewen > Assignee: Lim Chee Hau > Fix For: 1.0.1 > > > The Scala Examples lack behind the Java Examples -- This message was sent by Atlassian JIRA (v6.3.4#6332)