karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-5168) Replace old-style loops with foreach loops or streams
Date Thu, 01 Jun 2017 05:44:05 GMT

    [ 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 <skitt@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)

Mime
View raw message