Skip to content

Изменить HistoryManager и добавить тесты#3

Open
MakeOren wants to merge 8 commits intomainfrom
sprint_6-solution
Open

Изменить HistoryManager и добавить тесты#3
MakeOren wants to merge 8 commits intomainfrom
sprint_6-solution

Conversation

@MakeOren
Copy link
Copy Markdown
Owner

@MakeOren MakeOren commented Apr 3, 2026

No description provided.

}

@Override
public void remove(int id) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

в InMemoryTaskManager во всех методах удаления сущностей, нужно удалять из истории тоже

} else {
head = nextNode;
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

после завершения метода, соседние ноды забудут про удаляемую, поэтому не важно, что в ней

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Еще нужно добавить удаление из истории в методах clearTasks, clearSubTasks и clearEpics

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