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

Sebastian Schelter commented on MAHOUT-1211:
--------------------------------------------

I think the problem comes when you have an exception in the try block, close 
the stream in the finally block and get another exception. You cannot handle 
both exceptions in Java6 AFAIK.
                
> Replace deprecated Closables.closeQuietly calls
> -----------------------------------------------
>
>                 Key: MAHOUT-1211
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1211
>             Project: Mahout
>          Issue Type: Improvement
>            Reporter: Stevo Slavic
>            Assignee: Ted Dunning
>            Priority: Minor
>             Fix For: 0.8
>
>         Attachments: MAHOUT-1211.patch
>
>
> Deprecated Guava {{Closables.closeQuietly}} API has to be replaced, it's 
> usage is a code smell, and that method is scheduled to be removed from Guava 
> 16.0.
> See [this 
> discussion|https://code.google.com/p/guava-libraries/issues/detail?id=1118] 
> for more info.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to