Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
1.4.1
-
None
-
None
-
Reviewed
Description
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 https://builds.apache.org/job/PreCommit-HBASE-Build/11495/artifact/patchprocess/branch-findbugs-hbase-client-warnings.html#Warnings_STYLE