[ 
https://issues.apache.org/jira/browse/HADOOP-10223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13868496#comment-13868496
 ] 

Alejandro Abdelnur commented on HADOOP-10223:
---------------------------------------------

Oops there is new NIT:

{code}
if (r != null) r.close();
{code}

it should be:

{code}
if (r != null) {
  r.close();
}
{code}

> MiniKdc#main() should close the FileReader it creates
> -----------------------------------------------------
>
>                 Key: HADOOP-10223
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10223
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Minor
>         Attachments: hadoop-10223-v2.txt, hadoop-10223.txt
>
>
> FileReader is used to read MiniKDC properties.
> This FileReader should be closed after reading.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to