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.
--- 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. ---