Since Spring Framework 6 uses JDK 17 for its baseline, we can make use of toList() and toUnmodifiableSet() which were introduced in JDK 16 and JDK 10, respectively. Closes gh-27618
Since Spring Framework 6 uses JDK 17 for its baseline, we can make use of toList() and toUnmodifiableSet() which were introduced in JDK 16 and JDK 10, respectively. Closes gh-27618