Skip to content

Conversation

@sharkovadarya
Copy link
Owner

No description provided.


private final static int numberOfThreads = 4;

// create 'dir' directory manually!
Copy link
Collaborator

Choose a reason for hiding this comment

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

/**
* This method calculates MD5 check-sum of a file or a directory.
* @param path path to file/directory
* @return byte[] array storing MD5 check-sum
Copy link
Collaborator

Choose a reason for hiding this comment

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

исключения тоже бы хорошо документировать

try {
return getHashFromPath(p);
} catch (Exception e) {
// TODO handle exceptions
Copy link
Collaborator

Choose a reason for hiding this comment

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

ага, todo :)

@jzuken
Copy link
Collaborator

jzuken commented May 1, 2018

9.5

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