GitHub user Rucongzhang opened a pull request: https://github.com/apache/flink/pull/1023
[FLINK-2531]combining the if branch to improve the judge logic In function receiveAcknowledgeMessage, the "if" branch "checkpoint.isFullyAcknowledged()" can combine with the "if " branch "if (checkpoint != null && !checkpoint.isDiscarded()) " to improve judge logic. You can merge this pull request into a Git repository by running: $ git pull https://github.com/Rucongzhang/flink FLINK-2531 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/1023.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 #1023 ---- commit ab2eddd0ff43c97b472265c5dc7b8bd541fd76ed Author: Rucongzhang <zhangruc...@huawei.com> Date: 2015-08-16T07:56:38Z [FLINK-2531]combining the if branch to improve the judge logic ---- --- 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. ---