startup message

This commit is contained in:
vicizmax 2024-08-16 11:53:37 +02:00
parent 9a6db63a95
commit 234c984b5e

View file

@ -38,4 +38,16 @@ public class PetClinicApplication {
SpringApplication.run(PetClinicApplication.class, args); SpringApplication.run(PetClinicApplication.class, args);
} }
public static void main(String[] args) {
SpringApplication.run(PetClinicApplication.class, args);
printStartupMessage();
}
/**
* Prints a startup message to the console.
*/
private static void printStartupMessage() {
System.out.println("PetClinic Application has started successfully!");
}
} }