[ 
https://issues.apache.org/jira/browse/HDDS-2580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Attila Doroszlai reassigned HDDS-2580:
--------------------------------------

    Assignee: Attila Doroszlai

> Sonar: Close resources in xxxKeyHandler
> ---------------------------------------
>
>                 Key: HDDS-2580
>                 URL: https://issues.apache.org/jira/browse/HDDS-2580
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>            Reporter: Dinesh Chitlangia
>            Assignee: Attila Doroszlai
>            Priority: Major
>              Labels: newbie, sonar
>
> Use try-with-resources or close this "FileOutputStream" in a "finally" clause.
> GetKeyHandler: 
> [https://sonarcloud.io/project/issues?id=hadoop-ozone&issues=AW6HHKTfdBVcJdcVFsvC&open=AW6HHKTfdBVcJdcVFsvC]
>  
> Use try-with-resources or close this "OzoneOutputStream" in a "finally" 
> clause.
> PutKeyHandler: 
> [https://sonarcloud.io/project/issues?id=hadoop-ozone&issues=AW6HHKRodBVcJdcVFsvB&open=AW6HHKRodBVcJdcVFsvB]
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to