You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Ismaël Mejía (JIRA)" <ji...@apache.org> on 2018/01/30 08:19:00 UTC

[jira] [Commented] (BEAM-3034) Make the java code into idiomatic Java 5/7 code

    [ https://issues.apache.org/jira/browse/BEAM-3034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16344666#comment-16344666 ] 

Ismaël Mejía commented on BEAM-3034:
------------------------------------

I fixed this as part of the work on idiomatic Java 8 previous to the release, for reference see:

https://github.com/apache/beam/commit/db60d37266c2ad6c4e2b5681221cc055d5c02eab

> Make the java code into idiomatic Java 5/7 code
> -----------------------------------------------
>
>                 Key: BEAM-3034
>                 URL: https://issues.apache.org/jira/browse/BEAM-3034
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-java-core
>            Reporter: Wesley Tanaka
>            Assignee: Wesley Tanaka
>            Priority: Minor
>             Fix For: 2.3.0
>
>
> * Java 5 has "foreach" and does automatic boxing and unboxing
> * Beam requires Java 7
> * There is slight terseness benefit for taking advantage of these features



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)