Skip to content

AVRO-2763:Resource leak:'<unassigned Closeable value>' is never closed#835

Merged
dkulp merged 1 commit intoapache:masterfrom
zeshuai007:AVRO-2763
May 21, 2020
Merged

AVRO-2763:Resource leak:'<unassigned Closeable value>' is never closed#835
dkulp merged 1 commit intoapache:masterfrom
zeshuai007:AVRO-2763

Conversation

@zeshuai007
Copy link
Member

@zeshuai007 zeshuai007 commented Feb 29, 2020

Make sure you have checked all steps below.

Jira

Tests

  • My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

  • My commits all reference Jira issues in their subject lines. In addition, my commits follow the guidelines from "How to write a good git commit message":
    1. Subject is separated from body by a blank line
    2. Subject is limited to 50 characters (not including Jira issue reference)
    3. Subject does not end with a period
    4. Subject uses the imperative mood ("add", not "adding")
    5. Body wraps at 72 characters
    6. Body explains "what" and "why", not "how"

Documentation

  • In case of new functionality, my PR adds documentation that describes how to use it.
    • All the public functions and the classes in the PR contain Javadoc that explain what it does

@probot-autolabeler probot-autolabeler bot added Java Pull Requests for Java binding website labels Feb 29, 2020
Copy link
Contributor

@Fokko Fokko left a comment

Choose a reason for hiding this comment

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

Can we switch to the try-with-resource pattern? That gives a better example :-)

@zeshuai007
Copy link
Member Author

OK, I have changed all to try-with-resource. Thanks for the review @Fokko !

@anhldbk
Copy link
Contributor

anhldbk commented Mar 3, 2020

@zeshuai007 @Fokko Hi guys. A naive question: Would you please tell me how to properly open a Pull Request for Apache Avro? I see not so much discussion on your issue: https://issues.apache.org/jira/browse/AVRO-2763. Is there any guideline?

@Fokko
Copy link
Contributor

Fokko commented Mar 3, 2020

No worries @anhldbk. Here's a guide: https://opensource.com/article/19/7/create-pull-request-github Please let me know if there are any further questions. You have to fork the repository, and then you can create a PR on your own fork, from which you can create a PR.

@anhldbk
Copy link
Contributor

anhldbk commented Mar 3, 2020

@Fokko Still I think we need discussions with maintainers first via Jira issues. Would you please have a look at my opening issue. Thank you in advance.

@anhldbk
Copy link
Contributor

anhldbk commented Mar 10, 2020

@Fokko Travis have failed. I checked the logs and I think we have problems with service quality of Travis

@Fokko
Copy link
Contributor

Fokko commented Mar 16, 2020

@anhldbk can you rebase onto master?

@zeshuai007
Copy link
Member Author

@Fokko
Sure, it has been rebase.

@dkulp dkulp merged commit b534b8b into apache:master May 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Java Pull Requests for Java binding website

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants