[ https://issues.apache.org/jira/browse/ZOOKEEPER-2817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated ZOOKEEPER-2817: -------------------------------------- Labels: pull-request-available (was: ) > 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 > Priority: Minor > Labels: pull-request-available > Fix For: 3.6.0, 3.5.5 > > 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 (v7.6.3#76005)