Chung-En Lee created HDDS-15494:
-----------------------------------

             Summary: 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


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]

Reply via email to