[
https://issues.apache.org/jira/browse/HBASE-21888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16767827#comment-16767827
]
Guanghao Zhang commented on HBASE-21888:
----------------------------------------
Copied from
https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html
{quote}bq. It's not always necessary to assign a value when a field is
declared. Fields that are declared but not initialized will be set to a
reasonable default by the compiler. Generally speaking, this default will be
zero or {{null}}, depending on the data type. Relying on such default values,
however, is generally considered bad programming style.
{quote}
> Add a isClosed method to AsyncConnection
> ----------------------------------------
>
> Key: HBASE-21888
> URL: https://issues.apache.org/jira/browse/HBASE-21888
> Project: HBase
> Issue Type: Task
> Components: asyncclient, Client
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Priority: Major
> Fix For: 3.0.0, 2.2.0, 2.3.0
>
> Attachments: HBASE-21888-v1.patch, HBASE-21888.patch
>
>
> Align with Connection interface.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)