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

ASF GitHub Bot commented on FLINK-1774:
---------------------------------------

GitHub user matadorhong opened a pull request:

    https://github.com/apache/flink/pull/522

    [FLINK-1774]Remove the redundant code in try{} block.

    Remove the redundant code of "fos.close(); fos = null;" in try block 
because the fos,close() code will always executes in finally block.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/matadorhong/flink RemoveRedundantCode

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/522.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #522
    
----
commit 353705fd21466f1ad09dbd7222c0f897357060ee
Author: hongsibao <[email protected]>
Date:   2015-03-23T16:23:57Z

    Remove the redundant code in try{} block.

----


> Remove the redundant code in try{} block
> ----------------------------------------
>
>                 Key: FLINK-1774
>                 URL: https://issues.apache.org/jira/browse/FLINK-1774
>             Project: Flink
>          Issue Type: Improvement
>    Affects Versions: master
>            Reporter: Sibao Hong
>            Priority: Minor
>             Fix For: master
>
>
> Remove the redundant code of "fos.close(); fos = null;" in try block because 
> the fos,close() code will always executes in finally block.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to