Skip to content

Conversation

@XRater
Copy link
Owner

@XRater XRater commented Apr 13, 2018

No description provided.

Copy link

@dzharkov dzharkov left a comment

Choose a reason for hiding this comment

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

По коду особо претензий нет. Однако PR оформлен плохо: при ревью пришлось продираться сквозь полотно кода из другого задания. -0.5
Итого: 9.5/10

}

@SuppressWarnings("WeakerAccess")
public IOException getExecutionException() {
Copy link

Choose a reason for hiding this comment

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

Я бы лучше пробросил завернутое исключение, но настаивать не буду

final ArrayList<MD5EvaluatorTask> innerTasks = new ArrayList<>();

md.update(path.getFileName().toString().getBytes());
try {
Copy link

Choose a reason for hiding this comment

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

Раз уж IO-исключение могло произойти только в walk, ты я бы этот вызов и обернул в try-catch, чтобы не усложнять читаемость содержательного куска кода

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.

3 participants