Revert "Fixup styling"
This reverts commit 6cb35dd535bfddad1243feaae2f3d2af0dc932d7.
This commit is contained in:
parent
dc3f7039cb
commit
a2efde1d87
|
@ -5,8 +5,8 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
|
|
||||||
@SpringBootApplication
|
@SpringBootApplication
|
||||||
public class HexagonalArchitectureTaskApplication {
|
public class HexagonalArchitectureTaskApplication {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
SpringApplication.run(HexagonalArchitectureTaskApplication.class, args);
|
SpringApplication.run(HexagonalArchitectureTaskApplication.class, args);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,4 +19,4 @@ public class AddNewTask implements CreateTask {
|
||||||
public void create(Task newTask) {
|
public void create(Task newTask) {
|
||||||
taskService.createTask(newTask);
|
taskService.createTask(newTask);
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
|
@ -19,4 +19,4 @@ public class GetTasks implements GetAllTasks {
|
||||||
public Iterable<Task> getAll() {
|
public Iterable<Task> getAll() {
|
||||||
return taskService.getAllTasks();
|
return taskService.getAllTasks();
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
|
@ -17,6 +17,7 @@ public class StartupRunner implements ApplicationRunner {
|
||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
public void run(ApplicationArguments args) throws Exception {
|
public void run(ApplicationArguments args) throws Exception {
|
||||||
|
System.out.println("Adding daily tasks");
|
||||||
Task task = new Task();
|
Task task = new Task();
|
||||||
task.setDescription("Startup Task");
|
task.setDescription("Startup Task");
|
||||||
addNewDailyTask.create(task);
|
addNewDailyTask.create(task);
|
||||||
|
|
Loading…
Reference in New Issue