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 72E51200C46 for ; Wed, 29 Mar 2017 22:18:48 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 71659160B9D; Wed, 29 Mar 2017 20:18:48 +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 BE96A160B5D for ; Wed, 29 Mar 2017 22:18:47 +0200 (CEST) Received: (qmail 21075 invoked by uid 500); 29 Mar 2017 20:18:47 -0000 Mailing-List: contact commits-help@beam.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@beam.apache.org Delivered-To: mailing list commits@beam.apache.org Received: (qmail 21066 invoked by uid 99); 29 Mar 2017 20:18:46 -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; Wed, 29 Mar 2017 20:18:46 +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 7A2291A0821 for ; Wed, 29 Mar 2017 20:18:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.752 X-Spam-Level: X-Spam-Status: No, score=-99.752 tagged_above=-999 required=6.31 tests=[KAM_LOTSOFHASH=0.25, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id nAQqj-C_dsmj for ; Wed, 29 Mar 2017 20:18:45 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id A786E61A33 for ; Wed, 29 Mar 2017 20:18:44 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id D55FAE0D27 for ; Wed, 29 Mar 2017 20:18:43 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2B8A12419A for ; Wed, 29 Mar 2017 20:18:42 +0000 (UTC) Date: Wed, 29 Mar 2017 20:18:42 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: commits@beam.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (BEAM-1425) Window should comply with PTransform style guide MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 29 Mar 2017 20:18:48 -0000 [ https://issues.apache.org/jira/browse/BEAM-1425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15947823#comment-15947823 ] ASF GitHub Bot commented on BEAM-1425: -------------------------------------- GitHub user jkff opened a pull request: https://github.com/apache/beam/pull/2362 [BEAM-1425] Window should comply with PTransform style guide Incompatible changes: - Window.Bound class is now simply Window: matters for users that were extracting the transform into a variable. - Static methods such as Window.triggering(), Window.withAllowedLateness() etc. are now available via Window.configure() - e.g. Window.configure().withAllowedLateness(...). The method Window.into() is left intact as it is the primary entry point for windowing a collection, whereas the other methods are for adjusting the parameters of the windowing function. R: @tgroh You can merge this pull request into a Git repository by running: $ git pull https://github.com/jkff/incubator-beam window-style Alternatively you can review and apply these changes as the patch at: https://github.com/apache/beam/pull/2362.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 #2362 ---- commit 100b65f5b5203e664386192bc390c34a51a8005b Author: Eugene Kirpichov Date: 2017-03-29T00:59:11Z Removes unused name parameter commit f981f40e9f7ec48663dfa692bf44ca680cf2528d Author: Eugene Kirpichov Date: 2017-03-29T01:04:37Z Fixes a few warnings in Window commit 9a0fa6617d929ff626bb292232327f79597d241d Author: Eugene Kirpichov Date: 2017-03-29T01:14:30Z Uses AutoValue in Window commit 9de5bb2fde66fc0738aec770fcfc1846fcd2be95 Author: Eugene Kirpichov Date: 2017-03-29T19:58:20Z Replaced static Window.blah() methods with Window.configure().blah() except Window.into() commit 0ec3afc5530df0e5d1f7bbba4093ef16be8e3657 Author: Eugene Kirpichov Date: 2017-03-29T20:09:49Z Replaces Window.Bound with simply Window ---- > Window should comply with PTransform style guide > ------------------------------------------------ > > Key: BEAM-1425 > URL: https://issues.apache.org/jira/browse/BEAM-1425 > Project: Beam > Issue Type: Bug > Components: sdk-java-core > Reporter: Eugene Kirpichov > Labels: backward-incompatible, starter > Fix For: First stable release > > > Suggested changes: > - Remove static builder-like methods such as triggering(), discardingFiredPanes() - the only static entry point should be .into(). > - (optional) use AutoValue -- This message was sent by Atlassian JIRA (v6.3.15#6346)