Ted Yu created HBASE-19985:

             Summary: Redundant instanceof check in 
                 Key: HBASE-19985
                 URL: https://issues.apache.org/jira/browse/HBASE-19985
             Project: HBase
          Issue Type: Bug
    Affects Versions: 1.4.1
            Reporter: Ted Yu

  public static IOException getServiceException(ServiceException e) {
    Throwable t = e;
    if (e instanceof ServiceException) {
      t = e.getCause();
The instanceof check would always return true.

This was reported by 

This message was sent by Atlassian JIRA

Reply via email to