Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConcurrentGetObjectSample中的endPos 设置有误 #7

Closed
likegogogo opened this issue Mar 15, 2016 · 1 comment
Closed

ConcurrentGetObjectSample中的endPos 设置有误 #7

likegogogo opened this issue Mar 15, 2016 · 1 comment

Comments

@likegogogo
Copy link

long endPos = (i + 1 == blockCount) ? objectSize : (i + 1) * blockSize;

should be:
long endPos = (i + 1 == blockCount) ? -1 : (i + 1) * blockSize;

right?

@baiyubin
Copy link
Contributor

yes, update it on next version.

HalfStackDeveloper added a commit that referenced this issue Feb 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants