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

Small improvements #22

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Small improvements #22

wants to merge 3 commits into from

Conversation

gartens
Copy link
Contributor

@gartens gartens commented Feb 18, 2025

  • Prevent a NullPointerException if queryMode is missing
  • Round doubles directly without formatting and then parsing a string
  • Use a Queue instead of a List to share queries between threads

The switch statement calls hashCode on the value.  When the key is not present,
this leads to hashCode being called on a null value.
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.

1 participant