refactor: Simplified the name of the application-class
authorKai Moritz <kai@juplo.de>
Tue, 20 Dec 2022 17:26:15 +0000 (18:26 +0100)
committerKai Moritz <kai@juplo.de>
Sun, 15 Jan 2023 18:31:28 +0000 (19:31 +0100)
src/main/java/de/juplo/kafka/chatroom/ChatroomApplication.java [new file with mode: 0644]
src/main/java/de/juplo/kafka/chatroom/ChatroomServiceApplication.java [deleted file]
src/test/java/de/juplo/kafka/chatroom/ChatroomApplicationTests.java [new file with mode: 0644]
src/test/java/de/juplo/kafka/chatroom/ChatroomServiceApplicationTests.java [deleted file]

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 (file)
index 0000000..ee6f7ee
--- /dev/null
@@ -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 (file)
index 769bc40..0000000
+++ /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 (file)
index 0000000..d2e0d3b
--- /dev/null
@@ -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 (file)
index 3d5f709..0000000
+++ /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() {
-       }
-
-}