You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/12/23 07:11:00 UTC
[jira] [Updated] (ZOOKEEPER-4034) Replace lambda with method
reference
[ https://issues.apache.org/jira/browse/ZOOKEEPER-4034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated ZOOKEEPER-4034:
--------------------------------------
Labels: pull-request-available (was: )
> Replace lambda with method reference
> ------------------------------------
>
> Key: ZOOKEEPER-4034
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4034
> Project: ZooKeeper
> Issue Type: Improvement
> Reporter: LiAoNan
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> replace
> {code:java}
> static final Supplier<Socket> DEFAULT_SOCKET_FACTORY = () -> new Socket();
> {code}
> with
> {code:java}
> static final Supplier<Socket> DEFAULT_SOCKET_FACTORY = Socket::new;
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)