From 0b055a3f554da3a934e79e88c4781705cbab5a21 Mon Sep 17 00:00:00 2001 From: renxue <auster_i@163.com> Date: 星期一, 24 十月 2022 11:40:26 +0800 Subject: [PATCH] 修改包下的类名 --- src/main/java/com/hz/canal/starter/listener/ApplicationReadyListener.java | 40 ++++++++++++++++++++-------------------- 1 files changed, 20 insertions(+), 20 deletions(-) diff --git a/src/main/java/com/duxinglangzi/canal/starter/listener/ApplicationReadyListener.java b/src/main/java/com/hz/canal/starter/listener/ApplicationReadyListener.java similarity index 92% rename from src/main/java/com/duxinglangzi/canal/starter/listener/ApplicationReadyListener.java rename to src/main/java/com/hz/canal/starter/listener/ApplicationReadyListener.java index 161742f..e25d3f4 100644 --- a/src/main/java/com/duxinglangzi/canal/starter/listener/ApplicationReadyListener.java +++ b/src/main/java/com/hz/canal/starter/listener/ApplicationReadyListener.java @@ -1,20 +1,20 @@ -package com.duxinglangzi.canal.starter.listener; - -import org.springframework.boot.context.event.ApplicationReadyEvent; -import org.springframework.context.ApplicationListener; - -import java.util.concurrent.atomic.AtomicBoolean; - -/** - * @author wuqiong 2022/4/16 - */ -public class ApplicationReadyListener implements ApplicationListener<ApplicationReadyEvent> { - - public static final AtomicBoolean START_LISTENER_CONTAINER = new AtomicBoolean(false); - - @Override - public void onApplicationEvent(ApplicationReadyEvent event) { - // 纭繚绋嬪簭鍚姩涔嬪悗锛屽啀鏀捐鎵�鏈夌殑 canal transponder - if (!START_LISTENER_CONTAINER.get()) START_LISTENER_CONTAINER.set(true); - } -} +package com.hz.canal.starter.listener; + +import org.springframework.boot.context.event.ApplicationReadyEvent; +import org.springframework.context.ApplicationListener; + +import java.util.concurrent.atomic.AtomicBoolean; + +/** + * @author wuqiong 2022/4/16 + */ +public class ApplicationReadyListener implements ApplicationListener<ApplicationReadyEvent> { + + public static final AtomicBoolean START_LISTENER_CONTAINER = new AtomicBoolean(false); + + @Override + public void onApplicationEvent(ApplicationReadyEvent event) { + // 纭繚绋嬪簭鍚姩涔嬪悗锛屽啀鏀捐鎵�鏈夌殑 canal transponder + if (!START_LISTENER_CONTAINER.get()) START_LISTENER_CONTAINER.set(true); + } +} -- Gitblit v1.8.0