Compare commits
2 Commits
new_featur
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
185d78a388 | ||
|
|
34c2402c0b |
@@ -0,0 +1 @@
|
||||
zadanie 2.3
|
||||
@@ -3,6 +3,8 @@ package com.example.demo;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@SpringBootApplication
|
||||
public class DemoApplication {
|
||||
|
||||
@@ -12,7 +14,9 @@ public class DemoApplication {
|
||||
System.out.println("Start application 2");
|
||||
System.out.println("Start application develop_3");
|
||||
System.out.println("Start application develop_4");
|
||||
SpringApplication.run(DemoApplication.class, args);
|
||||
SpringApplication.run(DemoApplicationExtra.class, args);
|
||||
|
||||
System.out.println(new Date());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -4,11 +4,11 @@ import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
@SpringBootApplication
|
||||
public class DemoApplication {
|
||||
public class DemoApplicationExtra {
|
||||
|
||||
public static void main(String[] args) {
|
||||
System.out.println("Start application");
|
||||
SpringApplication.run(DemoApplication.class, args);
|
||||
SpringApplication.run(DemoApplicationExtra.class, args);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user