You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2019/12/15 12:13:46 UTC

[GitHub] [hadoop-ozone] cxorm opened a new pull request #361: HDDS-2723. Wrap InputStream with try-with-resource in TestOzoneFSInputStream

cxorm opened a new pull request #361: HDDS-2723. Wrap InputStream with try-with-resource in TestOzoneFSInputStream
URL: https://github.com/apache/hadoop-ozone/pull/361
 
 
   ## What changes were proposed in this pull request?
   This PR wraps the ```fs.open()``` in ```TestOzoneFSInputStream``` with ```try-with-resource``` statement.
   This statement ensure resource is closed properly.
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-2723
   
   ## How was this patch tested?
   UT is updated, and ran.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org