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-5162) Code can be simplified using new Map methods
Date Tue, 30 May 2017 16:02:04 GMT

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

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

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

KARAF-5162: use new Map methods

computeIfAbsent, getOrDefault and merge can be put to good use to
simplify a number of common code sequences.

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


> Code can be simplified using new Map methods
> --------------------------------------------
>
>                 Key: KARAF-5162
>                 URL: https://issues.apache.org/jira/browse/KARAF-5162
>             Project: Karaf
>          Issue Type: Improvement
>            Reporter: Stephen Kitt
>            Assignee: Jean-Baptiste Onofré
>            Priority: Trivial
>




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

Mime
View raw message