[
https://jira.codehaus.org/browse/MSHARED-244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=309477#comment-309477
]
Mark Struberg commented on MSHARED-244:
---------------------------------------
The reason is pretty simple: binary compatibility!
There are quite some different versions of various commons-*, logger APIs etc
around. Not all of those versions are binary compatible. In some plugins and
all of maven-core we do not know which other dependencies end up in the chain.
Imagine what would happen if a commons-lang.jar is available in both a custom
plugin dependency and in maven core. We could end up with those funny "Class X
cannot be cast to Class X" errors.
> Add EMPTY_xxxx_ARRAY from commons-lang to our CollectionsUtils
> --------------------------------------------------------------
>
> Key: MSHARED-244
> URL: https://jira.codehaus.org/browse/MSHARED-244
> Project: Maven Shared Components
> Issue Type: New Feature
> Components: maven-shared-utils
> Reporter: Mark Struberg
> Assignee: Mark Struberg
>
> There are a lot of Classes which need constants for empty arrays like
> String[0].
> We shall add such constants to our CollectionUtils.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira