Skip to content

Commit

Permalink
checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
bbeaudreault committed Apr 7, 2022
1 parent 3b30f68 commit bfb330c
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,9 @@ private IOException instantiateException(Class<? extends IOException> cls) throw
// if an exception defaults to meaning isServerOverloaded, we use that.
// otherwise, see if the remote exception value should mean setting to true.
HBaseServerException serverException = (HBaseServerException) ex;
if (serverOverloaded && !serverException.isServerOverloaded())
serverException.setServerOverloaded(true);
if (serverOverloaded && !serverException.isServerOverloaded()) {
serverException.setServerOverloaded(true);
}
}

return ex;
Expand Down

0 comments on commit bfb330c

Please sign in to comment.