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