From bfb330c0bddd2519362eaf35170679a737902a64 Mon Sep 17 00:00:00 2001 From: Bryan Beaudreault Date: Thu, 7 Apr 2022 15:59:45 -0400 Subject: [PATCH] checkstyle --- .../apache/hadoop/hbase/ipc/RemoteWithExtrasException.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/RemoteWithExtrasException.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/RemoteWithExtrasException.java index 377b285132b4..108b9068a2d9 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/RemoteWithExtrasException.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/RemoteWithExtrasException.java @@ -117,8 +117,9 @@ private IOException instantiateException(Class 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;