You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/06/01 05:44:05 UTC

[jira] [Commented] (KARAF-5168) Replace old-style loops with foreach loops or streams

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

ASF subversion and git services commented on KARAF-5168:
--------------------------------------------------------

Commit 06fc781032f215af32cecab85f13708235800823 in karaf's branch refs/heads/master from [~skitt]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=06fc781 ]

[KARAF-5168] Replace old-style loops

This patch replaces a number of old-style explicit loops over arrays
or iterators with foreach loops or streams.

Signed-off-by: Stephen Kitt <sk...@redhat.com>


> Replace old-style loops with foreach loops or streams
> -----------------------------------------------------
>
>                 Key: KARAF-5168
>                 URL: https://issues.apache.org/jira/browse/KARAF-5168
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-core
>    Affects Versions: 4.2.0
>            Reporter: Stephen Kitt
>            Assignee: Jean-Baptiste Onofré
>            Priority: Trivial
>             Fix For: 4.2.0
>
>
> There are still a number of old-style loops over arrays or explicit iterations; these can be replaced by foreach loops or even streams in some cases.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)