Skip to content

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.
Copy link
Member

@vogti vogti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx, @gartens, for this PR!

@vogti vogti merged commit d468561 into master Feb 24, 2025
6 checks passed
@vogti vogti deleted the small-improvements branch February 24, 2025 16:52
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.

3 participants