From b654351f05484e4cee8f88064deaf35ebb6528af Mon Sep 17 00:00:00 2001 From: marsishandsome Date: Thu, 5 Aug 2021 10:58:24 +0800 Subject: [PATCH] format code Signed-off-by: marsishandsome --- src/main/java/org/tikv/common/TiSession.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/tikv/common/TiSession.java b/src/main/java/org/tikv/common/TiSession.java index f8ad6eba08e..9618562b101 100644 --- a/src/main/java/org/tikv/common/TiSession.java +++ b/src/main/java/org/tikv/common/TiSession.java @@ -392,7 +392,8 @@ public SwitchTiKVModeClient getSwitchTiKVModeClient() { if (res == null) { synchronized (this) { if (switchTiKVModeClient == null) { - switchTiKVModeClient = new SwitchTiKVModeClient(getPDClient(), getImporterRegionStoreClientBuilder()); + switchTiKVModeClient = + new SwitchTiKVModeClient(getPDClient(), getImporterRegionStoreClientBuilder()); } res = switchTiKVModeClient; } @@ -589,7 +590,7 @@ private synchronized void cleanAfterTerminated() throws InterruptedException { catalog.close(); } - if(switchTiKVModeClient != null) { + if (switchTiKVModeClient != null) { switchTiKVModeClient.stopKeepTiKVToImportMode(); } }