Repository navigation
Use collections4 MapUtils in DonkeyMessageController - #540
Merged
tonygermano merged 1 commit intoOct 31, 2026
Merged
tonygermano merged 1 commit into
tonygermano merged 1 commit into
Conversation
Signed-off-by: Nico Piel <nico.piel@hotmail.de>
NicoPiel
requested review from
a team,
gibson9583,
jonbartels,
kayyagari,
kpalang,
mgaffigan,
ssrowe and
tonygermano
October 30, 2026 10:43
mgaffigan
approved these changes
Oct 30, 2026
tonygermano
approved these changes
Oct 31, 2026
tonygermano
left a comment
Member
There was a problem hiding this comment.
It's only used once in the whole file to check if a map is not empty 😄
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
DonkeyMessageControllerimportsMapUtilsfrom commons-collections4 instead of commons-collections 3.Why
It was the last direct use of commons-collections 3 in our sources. The jar itself stays on the launcher classpath, because commons-beanutils and commons-configuration2 need it.
Reviewer notes
MapUtils.isNotEmpty(Map)has the same semantics in both versions. collections4 is already on the server classpath, and the file already imports collections4'sCollectionUtils../gradlew :server:compileJava.🤖 Generated with Claude Code