Skip to content

[SHRINKRES-343] Remove Arquillian Spacelift dependency #235

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

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

petrberan
Copy link
Member

@petrberan petrberan requested review from xstefank and xjusko July 23, 2024 14:44
for (int i = 0; i < 3; i++) {
try {
downloaded = runDownloadExecution(mavenDistribution, target).await();
} catch (ExecutionException ee) {
if (expectedSize == 0) {
Copy link
Member

Choose a reason for hiding this comment

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

I don't understand what are you doing here, but if you run this only only first iteration, then why not to move it before the loop.

Copy link
Member Author

Choose a reason for hiding this comment

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

In case of IOException caused by the HttpURLConnection the block will be run again. Moving it before the loop would mean to have another loop for this case

@petrberan petrberan merged commit cb6e9e2 into shrinkwrap:master Aug 13, 2024
2 checks passed
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.

2 participants