Skip to content

(doc) Document who owns a resource#146

Closed
mernst wants to merge 1 commit intoapache:masterfrom
mernst:resources
Closed

(doc) Document who owns a resource#146
mernst wants to merge 1 commit intoapache:masterfrom
mernst:resources

Conversation

@mernst
Copy link
Contributor

@mernst mernst commented Sep 19, 2022

Complementing #138, this pull request indicates who is responsible for closing a resource.

* Parses class from the given stream.
*
* @param inputStream Input stream
* @param inputStream Input stream; the client should close it
Copy link
Member

Choose a reason for hiding this comment

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

-1: No need to say this IMO, it should be a basic best practice that the allocation site is the closing site. Only the opposite should be documented.

@mernst mernst closed this Sep 20, 2022
@mernst mernst deleted the resources branch September 20, 2022 04:01
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