zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asdf2014 <...@git.apache.org>
Subject [GitHub] zookeeper pull request #290: Using `Collections.singletonList` instead of `A...
Date Thu, 22 Jun 2017 11:34:08 GMT
GitHub user asdf2014 opened a pull request:

    https://github.com/apache/zookeeper/pull/290

    Using `Collections.singletonList` instead of `Arrays.asList(oneElement)`

    Using `Collections.singletonList` instead of `Arrays.asList(oneElement)` for reusing a
immutable object instead of creating a new object.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/asdf2014/zookeeper coll_stuff

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/zookeeper/pull/290.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #290
    
----

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message