fixed format

This commit is contained in:
七锋
2018-06-14 19:25:34 +08:00
parent dca1b20043
commit a4255a6377
38 changed files with 11024 additions and 11392 deletions

View File

@@ -434,13 +434,13 @@ public class CanalController {
}
// 启动网络接口
if(canalServer!=null) {
if (canalServer != null) {
canalServer.start();
}
}
public void stop() throws Throwable {
if(canalServer!=null) {
if (canalServer != null) {
canalServer.stop();
}

View File

@@ -59,6 +59,7 @@ public class CanalLauncher {
private static void setGlobalUncaughtExceptionHandler() {
Thread.setDefaultUncaughtExceptionHandler(new Thread.UncaughtExceptionHandler() {
@Override
public void uncaughtException(Thread t, Throwable e) {
logger.error("UnCaughtException", e);