You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Stas Levin (JIRA)" <ji...@apache.org> on 2016/12/28 08:07:58 UTC

[jira] [Created] (BEAM-1223) Static factory methods for Sum.[*]Fn classes

Stas Levin created BEAM-1223:
--------------------------------

             Summary: Static factory methods for Sum.[*]Fn classes
                 Key: BEAM-1223
                 URL: https://issues.apache.org/jira/browse/BEAM-1223
             Project: Beam
          Issue Type: Bug
          Components: sdk-java-core
            Reporter: Stas Levin
            Assignee: Stas Levin
            Priority: Minor


{{Sum.SumDoubleFn}}, {{SumIntegerFn}} and {{SumLongFn}} are not using the {{X.of()}} or {{X.from()}} or other instance creation via static method patterns that are ubiquitous in Beam.

Following a discussion on the dev list, it would be great to preserve a consistent look and feel and change the creation patterns for these classes to something like {{SumFn.ofLong()}} etc.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)