Avoid List and String allocation in inRightLocation by kilink · Pull Request #4149 · graphql-java/graphql-java

@kilink

The inRightLocation helper was recently optimized to remove Stream usage, however creation
of the intermediary List is not necessary at all, and String allocations can be avoided by
using equalsIgnoreCase.

Additionally, make some other methods static where possible.

bbakerman

approved these changes Oct 24, 2025

@kilink kilink deleted the is-right-location-allocations branch

October 24, 2025 18:08