GitHub user dhalperi opened a pull request: https://github.com/apache/incubator-beam/pull/600
[BEAM-381] BoundedReader: update the range last of all Reorders the code in some splitAtFraction calls so that the rangeTracker update is the last thing (besides assignment) in the function. This avoids a potential issue if creating the primary or residual sources happens to throw an exception. You can merge this pull request into a Git repository by running: $ git pull https://github.com/dhalperi/incubator-beam offsetbasedreader Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-beam/pull/600.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 #600 ---- commit 489432a3ce31aa3c769834920841c7a1df298720 Author: Dan Halperin <dhalp...@google.com> Date: 2016-07-07T06:05:56Z [BEAM-381] BoundedReader: update the range last of all Reorders the code in some splitAtFraction calls so that the rangeTracker update is the last thing (besides assignment) in the function. This avoids a potential issue if creating the primary or residual sources happens to throw an exception. ---- --- 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. ---