You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/11/09 08:24:11 UTC

[jira] [Commented] (TAJO-1973) Replace 'while' loop with 'foreach'

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

ASF GitHub Bot commented on TAJO-1973:
--------------------------------------

GitHub user dkhwangbo opened a pull request:

    https://github.com/apache/tajo/pull/858

    TAJO-1973: Replace 'while' loop with 'foreach'

    'While' loops which iterate over collections can be replaced with the 'foreach' iteration syntax, which is available in Java 5 and newer.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dkhwangbo/tajo TAJO-1973

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tajo/pull/858.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 #858
    
----
commit f4cee94de68bf3662c8f42056e70591d421fc619
Author: Dongkyu Hwangbo <hw...@gmail.com>
Date:   2015-11-09T07:12:33Z

    initial commit

commit ce3037ad54fe062f0ddb1c62d1bee6ec89b94a90
Author: Dongkyu Hwangbo <hw...@gmail.com>
Date:   2015-11-09T07:21:15Z

    keep align

commit 65cc4c51ea39730924b5c1f6fe6619b903e7bab6
Author: Dongkyu Hwangbo <hw...@gmail.com>
Date:   2015-11-09T07:22:51Z

    keep align

----


> Replace 'while' loop with 'foreach'
> -----------------------------------
>
>                 Key: TAJO-1973
>                 URL: https://issues.apache.org/jira/browse/TAJO-1973
>             Project: Tajo
>          Issue Type: Improvement
>            Reporter: Dongkyu Hwangbo
>            Assignee: Dongkyu Hwangbo
>            Priority: Trivial
>              Labels: newbie
>
> 'While' loops which iterate over collections can be replaced with the 'foreach' iteration syntax, which is available in Java 5 and newer.



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