From: Kai Moritz Date: Tue, 20 Dec 2022 17:26:15 +0000 (+0100) Subject: refactor: Simplified the name of the application-class X-Git-Tag: TEST~78 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=b3a1da84d520cfa760706ca6aba4399c81f1a0c1;p=demos%2Fkafka%2Fchat refactor: Simplified the name of the application-class --- diff --git a/src/main/java/de/juplo/kafka/chatroom/ChatroomApplication.java b/src/main/java/de/juplo/kafka/chatroom/ChatroomApplication.java new file mode 100644 index 00000000..ee6f7ee4 --- /dev/null +++ b/src/main/java/de/juplo/kafka/chatroom/ChatroomApplication.java @@ -0,0 +1,14 @@ +package de.juplo.kafka.chatroom; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class ChatroomApplication +{ + public static void main(String[] args) + { + SpringApplication.run(ChatroomApplication.class, args); + } + +} diff --git a/src/main/java/de/juplo/kafka/chatroom/ChatroomServiceApplication.java b/src/main/java/de/juplo/kafka/chatroom/ChatroomServiceApplication.java deleted file mode 100644 index 769bc40c..00000000 --- a/src/main/java/de/juplo/kafka/chatroom/ChatroomServiceApplication.java +++ /dev/null @@ -1,13 +0,0 @@ -package de.juplo.kafka.chatroom; - -import org.springframework.boot.SpringApplication; -import org.springframework.boot.autoconfigure.SpringBootApplication; - -@SpringBootApplication -public class ChatroomServiceApplication { - - public static void main(String[] args) { - SpringApplication.run(ChatroomServiceApplication.class, args); - } - -} diff --git a/src/test/java/de/juplo/kafka/chatroom/ChatroomApplicationTests.java b/src/test/java/de/juplo/kafka/chatroom/ChatroomApplicationTests.java new file mode 100644 index 00000000..d2e0d3bc --- /dev/null +++ b/src/test/java/de/juplo/kafka/chatroom/ChatroomApplicationTests.java @@ -0,0 +1,14 @@ +package de.juplo.kafka.chatroom; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class ChatroomApplicationTests +{ + + @Test + void contextLoads() { + } + +} diff --git a/src/test/java/de/juplo/kafka/chatroom/ChatroomServiceApplicationTests.java b/src/test/java/de/juplo/kafka/chatroom/ChatroomServiceApplicationTests.java deleted file mode 100644 index 3d5f709a..00000000 --- a/src/test/java/de/juplo/kafka/chatroom/ChatroomServiceApplicationTests.java +++ /dev/null @@ -1,13 +0,0 @@ -package de.juplo.kafka.chatroom; - -import org.junit.jupiter.api.Test; -import org.springframework.boot.test.context.SpringBootTest; - -@SpringBootTest -class ChatroomServiceApplicationTests { - - @Test - void contextLoads() { - } - -}