Skip to content

feature: реализация задания 9го спринта#5

Merged
mralexfedorov merged 8 commits into
mainfrom
sprint_9-solution-http-api
Aug 8, 2025
Merged

feature: реализация задания 9го спринта#5
mralexfedorov merged 8 commits into
mainfrom
sprint_9-solution-http-api

Conversation

@mralexfedorov

Copy link
Copy Markdown
Owner

No description provided.

@kesch9 kesch9 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Нужно подправить реализацию

taskId++;
} else {
System.out.println("Пересечение с текущими задачами");
throw new InterruptedException();

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Сигнатура методов не должна меняться, вы выбрали неверную ошибку InterruptedException, создайте свою кастомную ошибку унаследованную от RuntimeException и здесь её кидайте. Во всех методах нужно будет удалить throws InterruptedException

Comment thread src/tracker/model/LocalDateAdapter.java Outdated
Comment thread src/tracker/model/LocalDateAdapter.java Outdated
Comment thread src/tracker/server/HttpTaskServer.java Outdated
Comment thread src/tracker/server/BaseHttpHandler.java Outdated
Comment thread src/tracker/server/HttpTaskServer.java Outdated
Comment thread src/tracker/server/HttpTaskServer.java Outdated
Comment thread src/tracker/server/HttpTaskServer.java Outdated
Comment thread src/tracker/server/HttpTaskServer.java Outdated

@kesch9 kesch9 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve

@mralexfedorov mralexfedorov merged commit 4dcc6b8 into main Aug 8, 2025
1 check passed
@mralexfedorov mralexfedorov deleted the sprint_9-solution-http-api branch August 8, 2025 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants