Skip to content

Commit bfb330c

Browse files
committed
checkstyle
1 parent 3b30f68 commit bfb330c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/RemoteWithExtrasException.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,9 @@ private IOException instantiateException(Class<? extends IOException> cls) throw
117117
// if an exception defaults to meaning isServerOverloaded, we use that.
118118
// otherwise, see if the remote exception value should mean setting to true.
119119
HBaseServerException serverException = (HBaseServerException) ex;
120-
if (serverOverloaded && !serverException.isServerOverloaded())
121-
serverException.setServerOverloaded(true);
120+
if (serverOverloaded && !serverException.isServerOverloaded()) {
121+
serverException.setServerOverloaded(true);
122+
}
122123
}
123124

124125
return ex;

0 commit comments

Comments
 (0)