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

Should be names.get(..) instead of pages.get(...) #2

Open
tzolov opened this issue Oct 19, 2018 · 1 comment
Open

Should be names.get(..) instead of pages.get(...) #2

tzolov opened this issue Oct 19, 2018 · 1 comment

Comments

@tzolov
Copy link

tzolov commented Oct 19, 2018

This should be String rName = names.get(new Random().nextInt(names.size()));. E.g. names.get(..) instead of pages.get(...)

String rName = pages.get(new Random().nextInt(names.size()));

@jonairey
Copy link

jonairey commented Jan 4, 2021

I spotted this too! It would also be clearer if rName and rPage are declared the same order as above.

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