Skip to content

fix possible resource leaks #11624

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

Closed
wants to merge 1 commit into from
Closed

fix possible resource leaks #11624

wants to merge 1 commit into from

Conversation

igor-suhorukov
Copy link
Contributor

@igor-suhorukov igor-suhorukov commented Jan 13, 2018

This pull request is focused on resolving occurrences of Sonar rule squid:S2095 - Use try-with-resources or close this

I inspect Spring Boot code with sonarcloud.io and found some issues. Try to fix some blocker issues from #11623

@pivotal-issuemaster
Copy link

@igor-suhorukov Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@pivotal-issuemaster
Copy link

@igor-suhorukov Thank you for signing the Contributor License Agreement!

@snicoll
Copy link
Member

snicoll commented Jan 16, 2018

@philwebb looking at this one, I am a bit surprised about this polish commit. Can you expand why you've removed this call to close?

@igor-suhorukov
Copy link
Contributor Author

Do you use Continuous Code Quality tools like SonarQube in CI build?

@philwebb
Copy link
Member

philwebb commented Jan 17, 2018

@snicoll No idea 🤷‍♂️ It was in 2016. Looks like a mistake.

@philwebb
Copy link
Member

Do you use Continuous Code Quality tools like SonarQube in CI build?

@igor-suhorukov We have checkstyle rules but we don't have SonarQube. I've raised #11650.

@snicoll snicoll self-requested a review January 17, 2018 08:32
@snicoll snicoll added type: task A general task priority: normal and removed status: waiting-for-triage An issue we've not yet triaged labels Jan 17, 2018
@snicoll snicoll added this to the 2.0.0.RC1 milestone Jan 17, 2018
snicoll pushed a commit that referenced this pull request Jan 17, 2018
@snicoll snicoll closed this in d43346d Jan 17, 2018
snicoll added a commit that referenced this pull request Jan 17, 2018
* pr/11624:
  Polish "Fix potential resource leaks"
  Fix potential resource leaks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants