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

BUtil cleanup #84

Merged
merged 5 commits into from
Jan 13, 2025
Merged

BUtil cleanup #84

merged 5 commits into from
Jan 13, 2025

Conversation

Nadwey
Copy link
Member

@Nadwey Nadwey commented Jan 10, 2025

  • Rename parseInt to getRandomIntInRange, change the format of defining ranges from (number)-(number) to (number)..(number) and support negative values.
  • Replace some unnecessary calls to BUtil.getRandomIntInRange with appropriate alternatives.
  • Add some debug logs to BUtil's number functions.
  • Replace map(Integer::parseInt) with mapToInt(Integer::parseInt) in some places.

Nadwey and others added 4 commits January 10, 2025 21:33
* Rename 'parseInt' to 'getRandomIntInRange', change the format of defining ranges from (number)-(number) to (number)..(number) and support negative values

* Replace some unnecessary calls to BUtil.getRandomIntInRange witth appropriate alternatives

* Add some debug logs to BUtil's number functions

* Replace 'map(Integer::parseInt)' with 'mapToInt(Integer::parseInt)' in some places
@Nadwey Nadwey merged commit d91b918 into master Jan 13, 2025
2 checks passed
@Nadwey Nadwey deleted the feat/butil-cleanup branch January 13, 2025 20:54
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