fixed format

This commit is contained in:
agapple
2017-04-01 21:04:21 +08:00
parent b2a5f482ee
commit 2e3796cb07
2 changed files with 5 additions and 3 deletions

View File

@@ -60,7 +60,9 @@ public class SpringInstanceConfigMonitor extends AbstractCanalLifeCycle implemen
public void run() {
try {
scan();
if (isFirst) isFirst = false;
if (isFirst) {
isFirst = false;
}
} catch (Throwable e) {
logger.error("scan failed", e);
}