zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedict Jin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ZOOKEEPER-2817) Using `Collections.singletonList` instead of `Arrays.asList(oneElement)`
Date Wed, 28 Jun 2017 09:47:00 GMT

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-2817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benedict Jin updated ZOOKEEPER-2817:
------------------------------------
    Fix Version/s: 3.6.0
                   3.5.4

> Using `Collections.singletonList` instead of `Arrays.asList(oneElement)`
> ------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-2817
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2817
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: server
>    Affects Versions: 3.5.3
>            Reporter: Benedict Jin
>            Assignee: Benedict Jin
>             Fix For: 3.5.4, 3.6.0
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> Using `Collections.singletonList` instead of `Arrays.asList(oneElement)` for reusing
a immutable object instead of creating a new object.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message