The Wayback Machine - https://web.archive.org/web/20210319072846/https://github.com/apache/geode/pull/5582
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

GEODE-7864: Fix potential resource leak LGTM warnings #5582

Merged
merged 2 commits into from Oct 19, 2020

Conversation

@DonalEvans
Copy link
Contributor

@DonalEvans DonalEvans commented Oct 1, 2020

Authored-by: Donal Evans doevans@vmware.com

Thank you for submitting a contribution to Apache Geode.

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

For all changes:

  • Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

  • Has your PR been rebased against the latest commit within the target branch (typically develop)?

  • Is your initial contribution a single, squashed commit?

  • Does gradlew build run cleanly?

  • Have you written or updated unit tests to verify your changes?

  • If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:

Please ensure that once the PR is submitted, check Concourse for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to dev@geode.apache.org.

@DonalEvans DonalEvans force-pushed the DonalEvans:feature/GEODE-7864 branch 2 times, most recently from 1436671 to 12ba31b Oct 2, 2020
@DonalEvans DonalEvans force-pushed the DonalEvans:feature/GEODE-7864 branch from 12ba31b to 883804f Oct 12, 2020
Authored-by: Donal Evans <doevans@vmware.com>
@DonalEvans DonalEvans added the windows label Oct 12, 2020
@DonalEvans DonalEvans force-pushed the DonalEvans:feature/GEODE-7864 branch from 883804f to f8fb3a4 Oct 12, 2020
@lgtm-com
Copy link

@lgtm-com lgtm-com bot commented Oct 12, 2020

This pull request fixes 108 alerts when merging f8fb3a4 into e85a1bd - view on LGTM.com

fixed alerts:

  • 68 for Potential input resource leak
  • 40 for Potential output resource leak
@apache apache deleted a comment from lgtm-com bot Oct 12, 2020
@apache apache deleted a comment from lgtm-com bot Oct 12, 2020
@apache apache deleted a comment from lgtm-com bot Oct 12, 2020
@apache apache deleted a comment from lgtm-com bot Oct 12, 2020
@apache apache deleted a comment from lgtm-com bot Oct 12, 2020
@apache apache deleted a comment from lgtm-com bot Oct 12, 2020
@apache apache deleted a comment from lgtm-com bot Oct 12, 2020
@DonalEvans DonalEvans marked this pull request as ready for review Oct 13, 2020
Copy link
Contributor

@upthewaterspout upthewaterspout left a comment

Looks good! Just a couple comments, inline.

For any other reviewers - it helps to use the github setting to ignore whitespaces changes.

Authored-by: Donal Evans <doevans@vmware.com>
@lgtm-com
Copy link

@lgtm-com lgtm-com bot commented Oct 14, 2020

This pull request fixes 108 alerts when merging 5e5e94d into b167094 - view on LGTM.com

fixed alerts:

  • 68 for Potential input resource leak
  • 40 for Potential output resource leak
@DonalEvans DonalEvans merged commit 02ffbce into apache:develop Oct 19, 2020
18 checks passed
18 checks passed
LGTM analysis: JavaScript No code changes detected
Details
LGTM analysis: Python No code changes detected
Details
LGTM analysis: Java 108 fixed alerts
Details
concourse-ci/AcceptanceTestOpenJDK11 Concourse CI build success
Details
concourse-ci/ApiCheckTestOpenJDK11 Concourse CI build success
Details
concourse-ci/Build Concourse CI build success
Details
concourse-ci/DistributedTestOpenJDK11 Concourse CI build success
Details
concourse-ci/IntegrationTestOpenJDK11 Concourse CI build success
Details
concourse-ci/RedisTestOpenJDK11 Concourse CI build success
Details
concourse-ci/StressNewTestOpenJDK11 Concourse CI build success
Details
concourse-ci/UnitTestOpenJDK11 Concourse CI build success
Details
concourse-ci/UnitTestOpenJDK8 Concourse CI build success
Details
concourse-ci/UpgradeTestOpenJDK11 Concourse CI build success
Details
concourse-ci/WindowsAcceptanceTestOpenJDK11 Concourse CI build success
Details
concourse-ci/WindowsCoreIntegrationTestOpenJDK11 Concourse CI build success
Details
concourse-ci/WindowsGfshDistributedTestOpenJDK11 Concourse CI build success
Details
concourse-ci/WindowsIntegrationTestOpenJDK11 Concourse CI build success
Details
concourse-ci/WindowsUnitTestOpenJDK11 Concourse CI build success
Details
@DonalEvans DonalEvans deleted the DonalEvans:feature/GEODE-7864 branch Oct 19, 2020
mhansonp added a commit to mhansonp/geode that referenced this pull request Oct 20, 2020
* GEODE-7864: Fix potential resource leak LGTM warnings

Authored-by: Donal Evans <doevans@vmware.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
4 participants