Avoid List and String allocation in inRightLocation by kilink · Pull Request #4149 · graphql-java/graphql-java
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.
approved these changes Oct 24, 2025
kilink
deleted the
is-right-location-allocations
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters