Skip to content

Conversation

@DmKazakov
Copy link
Owner

No description provided.

Copy link
Collaborator

@yurii-litvinov yurii-litvinov left a comment

Choose a reason for hiding this comment

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

Существенных замечаний нет, зачтена

= new File("src" + File.separator + "test" + File.separator + "resources").getAbsolutePath();
@Before
public void clearTestingFolder() throws IOException {
File testingFolder = new File(ABSOLUTE_PATH_TO_RESOURCES + File.separator + "testing folder");
Copy link
Collaborator

Choose a reason for hiding this comment

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

На винде так не работает, пробел в пути смущает


Collection<File> filesInTestingFolder = FileUtils.listFiles(testingFolder, null, true);
for (File file : filesInTestingFolder) {
//if(file.isFile()){
Copy link
Collaborator

Choose a reason for hiding this comment

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

Закомментированный код не нужен в основной ветке

* @param path to archive
* @param regexp to satisfy
*/
private static void unzipMatchedFiles(String zipFile, String path, String regexp) throws IOException {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nullability-аннотации полезно писать и для private-методов, тут они будут проверять, что сам код написан правильно

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