vasiliy-mikhailov opened a new pull request, #696: URL: https://github.com/apache/commons-collections/pull/696
`SwitchTransformer.switchTransformer(Map)` extracts the default transformer with `map.remove(null)`, which **mutates the caller's map** by removing its null key entry — a surprising destructive side effect from a factory method. Use `map.get(null)` instead so the input map is left unchanged. Added a test asserting the input map is not mutated. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
