[ 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)