-
Notifications
You must be signed in to change notification settings - Fork 0
Доработана функциональность по техническому заданию спринта #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
avfyodorov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Добрый день, Максим!
Очень хорошая работа, серьёзных замечаний нет, есть уточнения, но и они на Ваше усмотрение.
|
|
||
| Subtask getSubtaskByID(int id); | ||
|
|
||
| ArrayList<Task> getTasks(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ArrayList
Вообще в качестве типов, возвращаемых из методов, не стоит использовать типы конкретных реализаций, лучше использовать более высокие абстракции, List<..>, Map<..> или даже Collection<..> Детали реализации лучше скрывать :)
Необязательно, на Ваше усмотрение.
|
|
||
| public class InMemoryHistoryManager implements HistoryManager { | ||
| private final List<Task> history = new ArrayList<>(); | ||
| private static class CustomLinkedList { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
private static class CustomLinkedList {
Это класс можно было и не создавать, а его методы реализовать как приватные методы менеджера истории.
Необязательно, на Ваше усмотрение.
avfyodorov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Добрый день, Максим!
Замечаний нет.
Работа принята.
Есть просьба-оставлять хоть какую-то реакцию на мои комментарии. Сделано/ Не сделано, потому что не согласен/ Не заметил. 🙂
No description provided.