Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIXED JENKINS-46597] IteratorHack needs to special-case SortedMap
For whatever reason that I can't exactly determine yet, Groovy categories seem to, at least in some scenarios, treat `Map` differently than `SortedMap`. I know, weird. Anyway, `IteratorHack#entrySet(Map)` and friends would fire for `HashMap` but not for `TreeMap`. Adding these shim methods fixes `entrySet`, `keySet`, and `values`.
- Loading branch information
Showing
2 changed files
with
79 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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