GitHub user matadorhong opened a pull request: https://github.com/apache/flink/pull/569
[FLINK-1826]Remove the redundant codes never be executed in function getNumPages Remove the code never be executed in function getNumPages, because the input of numBytes has be validataion by its caller of DefaultMemoryManager(long memorySize, int numberOfSlots, int pageSize). You can merge this pull request into a Git repository by running: $ git pull https://github.com/matadorhong/flink FLINK-1826 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/569.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 #569 ---- commit 40261a4519578d22c51030660323ac722e822045 Author: hongsibao <hongsi...@huawei.com> Date: 2015-04-04T04:56:54Z Remove the redundant codes never be executed in function getNumPages ---- --- 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. ---