-
Notifications
You must be signed in to change notification settings - Fork 0
ZipFile! #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
yurii-litvinov
left a comment
There was a problem hiding this 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"); |
There was a problem hiding this comment.
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()){ |
There was a problem hiding this comment.
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 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nullability-аннотации полезно писать и для private-методов, тут они будут проверять, что сам код написан правильно
No description provided.