-
-
Notifications
You must be signed in to change notification settings - Fork 419
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
Add Unzip snippet #102
Add Unzip snippet #102
Conversation
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.
Please fix the CI build. Additionally I see the changes to README.md
are missing. Please read through the contribution instructions.
Is there anything else to do in order to fix CI build? |
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.
The build is failing due to Checkstyle errors.
I'm available for other needed fixes for the PR. |
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.
The build is failing due to Checkstyle issues
Sorry for the inconvenience! I forgot checkstyle in testing source code |
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.
The tests are failing due to src/test/resources/multiple.zip
file not being found
README.md
Outdated
throw new IOException("Failed to create directory " + newFile); | ||
} | ||
} else { | ||
// fix for Windows-created archives |
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.
Can you elaborate, why this "fix" is needed?
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.
I've used the main structure proposed in the link you shared in #4 (https://www.baeldung.com/java-compress-and-uncompress chapter 5), but I've never reviewed that case.
I've removed that unnecessary code
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.
I guess the README.md
hasn't been updated with the changes
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.
The build is still failing
README.md
Outdated
throw new IOException("Failed to create directory " + newFile); | ||
} | ||
} else { | ||
// fix for Windows-created archives |
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.
I guess the README.md
hasn't been updated with the changes
* | ||
* @param fileZip source zip file | ||
* @param destDir the directory of the destination unzipped files | ||
* @throws IOException if an I/O error occurs |
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.
Please document the @return value too
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.
Made a new commit, sorry for the problems, I've never used Gradle so I forget all dependencies (and I didn't manage to run Gradle for testing on my machine)
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.
The build is failing due to Checkstyle error. Please configure Checkstyle locally for your IDE and resolve the problems before pinging me for another review.
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.
Good work
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.
Good work
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Closed due to inactivity. Thank you for your contributions. |
No description provided.