Fixup styling
This commit is contained in:
parent
616364afc4
commit
646bd45c18
|
@ -26,4 +26,4 @@ public class AddNewDailyTask implements CreateTask {
|
|||
addNewTask.create(task);
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
@ -4,4 +4,4 @@ import com.baeldung.architecture.domain.task.Task;
|
|||
|
||||
public interface CreateTask {
|
||||
public void create(Task newTask);
|
||||
};
|
||||
}
|
||||
|
|
|
@ -4,4 +4,4 @@ import com.baeldung.architecture.domain.task.Task;
|
|||
|
||||
public interface GetAllTasks {
|
||||
public Iterable<Task> getAll();
|
||||
};
|
||||
}
|
||||
|
|
|
@ -19,4 +19,4 @@ public class TaskService {
|
|||
return taskRepository.findAll();
|
||||
}
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
@ -21,4 +21,4 @@ public class StartupRunner implements ApplicationRunner {
|
|||
task.setDescription("Startup Task");
|
||||
addNewDailyTask.create(task);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -39,4 +39,4 @@ public class TaskApiController {
|
|||
task.setDueDate(Instant.parse(taskRequest.getDueDate()));
|
||||
addNewTask.create(task);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -25,5 +25,4 @@ public class TaskRequest {
|
|||
public void setDueDate(String dueDate) {
|
||||
this.dueDate = dueDate;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue