[
https://issues.apache.org/jira/browse/HDDS-15494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chun-Hung Tseng reassigned HDDS-15494:
--------------------------------------
Assignee: Chun-Hung Tseng
> Refactor OzoneOutputStream usage to utilize try-with-resources
> --------------------------------------------------------------
>
> Key: HDDS-15494
> URL: https://issues.apache.org/jira/browse/HDDS-15494
> Project: Apache Ozone
> Issue Type: Improvement
> Reporter: Chung-En Lee
> Assignee: Chun-Hung Tseng
> Priority: Minor
>
> Several `OzoneOutputStream` instances, such as those in
> `TestContainerStateMachine`, `TestContainerStateMachineFailures`,
> `TestBlockDeletion`, and `TestValidateBCSIDOnRestart`and other relevant test
> classes, are not currently handled by using the *try-with-resources*
> statement. It would be more elegant to handle these resources via
> *try-with-resources* rather than closing them manually.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]