GitHub user matadorhong opened a pull request: https://github.com/apache/flink/pull/502
Remove redundant codes which never been executed The following codes will never throw any execption, so the code of try catch are redundant code, should be removed. LOG.info("Loading configuration from " + cliConfig.configDir) GlobalConfiguration.loadConfiguration(cliConfig.configDir) GlobalConfiguration.getConfiguration() You can merge this pull request into a Git repository by running: $ git pull https://github.com/matadorhong/flink bug_3.19 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/502.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 #502 ---- commit 68de654200b796c45e2f250c0d359c56a3d474bc Author: Sibao Hong <hongsi...@huawei.com> Date: 2015-03-13T07:03:51Z Merge pull request #1 from apache/master update commit 07c20a40ccbfc886344bde5c26ed3605a799220a Author: Hong Sibao <hongsi...@huawei.com> Date: 2015-03-18T09:45:49Z Merge branch 'master' of https://github.com/apache/flink commit 17fd72dc87ff652362bbda159f09e14130ea3e93 Author: Hong Sibao <hongsi...@huawei.com> Date: 2015-03-19T07:28:43Z Merge branch 'master' of https://github.com/apache/flink commit 5c218adf92538c1c50770358655ef932138d3120 Author: Hong Sibao <hongsi...@huawei.com> Date: 2015-03-19T08:45:57Z Remove redundant codes which never been executed. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---