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

Fix possible IndexOutOfBoundsException exception #1012

Closed
wants to merge 1 commit into from

Conversation

zhao-gang
Copy link

Check if list is empty before getting its items. Also add an
annotation to indicate that steps parameter should be greater than 0.

Check if list is empty before getting its items. Also add an
annotation to indicate that steps parameter should be greater than 0.
@osana
Copy link
Contributor

osana commented Apr 24, 2019

@zhao-gang Thank you for contributing.
This PR was merged via #1013

@osana osana closed this Apr 24, 2019
@zhao-gang zhao-gang deleted the fix-exception branch April 27, 2019 12:39
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

Successfully merging this pull request may close these issues.

2 participants