Benedict Jin created ZOOKEEPER-2817:
---------------------------------------
Summary: 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: 4.0.0
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)