Skip to content
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

Closed
wants to merge 7 commits into from
Closed

Add Unzip snippet #102

wants to merge 7 commits into from

Conversation

LordRibblesdale
Copy link

No description provided.

Copy link
Owner

@iluwatar iluwatar left a 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.

@LordRibblesdale
Copy link
Author

Is there anything else to do in order to fix CI build?
Thanks in advance!

Copy link
Owner

@iluwatar iluwatar left a 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.

@LordRibblesdale
Copy link
Author

I'm available for other needed fixes for the PR.
Thanks in advance!

Copy link
Owner

@iluwatar iluwatar left a 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

@LordRibblesdale
Copy link
Author

Sorry for the inconvenience! I forgot checkstyle in testing source code

Copy link
Owner

@iluwatar iluwatar left a 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
Copy link
Owner

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?

Copy link
Author

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

Copy link
Owner

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

Copy link
Owner

@iluwatar iluwatar left a 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
Copy link
Owner

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
Copy link
Owner

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

Copy link
Author

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)

Copy link
Owner

@iluwatar iluwatar left a 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.

Copy link

@PraveenNanda124 PraveenNanda124 left a comment

Choose a reason for hiding this comment

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

Good work

Copy link

@PraveenNanda124 PraveenNanda124 left a comment

Choose a reason for hiding this comment

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

Good work

@stale
Copy link

stale bot commented Dec 31, 2022

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.

@stale stale bot added the status: stale label Dec 31, 2022
@stale
Copy link

stale bot commented Feb 14, 2023

Closed due to inactivity. Thank you for your contributions.

@stale stale bot closed this Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants