Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6D375200D6F for ; Mon, 1 Jan 2018 07:42:46 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 60B68160C25; Mon, 1 Jan 2018 06:42:46 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A50CB160C05 for ; Mon, 1 Jan 2018 07:42:45 +0100 (CET) Received: (qmail 66150 invoked by uid 500); 1 Jan 2018 06:42:43 -0000 Mailing-List: contact issues-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list issues@flink.apache.org Received: (qmail 66138 invoked by uid 99); 1 Jan 2018 06:42:42 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jan 2018 06:42:42 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 289551A0500 for ; Mon, 1 Jan 2018 06:42:42 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.03 X-Spam-Level: X-Spam-Status: No, score=-4.03 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id K1B4RFzypiaw for ; Mon, 1 Jan 2018 06:42:41 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id 7CC0B5F666 for ; Mon, 1 Jan 2018 06:42:40 +0000 (UTC) Received: (qmail 66122 invoked by uid 99); 1 Jan 2018 06:42:39 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jan 2018 06:42:39 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id D10A2DFCDE; Mon, 1 Jan 2018 06:42:36 +0000 (UTC) From: okumin To: issues@flink.incubator.apache.org Reply-To: issues@flink.incubator.apache.org Message-ID: Subject: [GitHub] flink pull request #5221: [hotfix] [docs] Format Scala programs in docs Content-Type: text/plain Date: Mon, 1 Jan 2018 06:42:36 +0000 (UTC) archived-at: Mon, 01 Jan 2018 06:42:46 -0000 GitHub user okumin opened a pull request: https://github.com/apache/flink/pull/5221 [hotfix] [docs] Format Scala programs in docs *Thank you very much for contributing to Apache Flink - we are happy that you want to help us improve Flink. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be best reviewed.* *Please understand that we do not do this to make contributions to Flink a hassle. In order to uphold a high standard of quality for code contributions, while at the same time managing a large number of contributions, we need contributors to prepare the contributions well, and give reviewers enough contextual information for the review. Please also understand that contributions that do not follow this guide will take longer to review and thus typically be picked up with lower priority by the community.* * remove unneeded semi-colons * add `()` to `print` method * typically, methods with some side-effects are invoked with `()` * replace some Java codes in Scala examples into Scala codes You can merge this pull request into a Git repository by running: $ git pull https://github.com/okumin/flink format-scala-code Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/5221.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #5221 ---- commit 96521134a0b0ac2be0b8afc7b1c01a0a0c18fe09 Author: okumin Date: 2018-01-01T06:25:54Z Format Scala programs in docs * remove unneeded semi-colons * add `()` to `print` method * typically, methods with some side-effects are invoked with `()` * replace some Java codes in Scala examples into Scala codes ---- ---