GitHub user datalorax opened a pull request:
https://github.com/apache/commons-lang/pull/65
#LANG-1114 TypeUtils.equals is broken for WildcardType
TypeUtils.equals is broken for WildcardType, when compared with
non-wildcard type.
It was broken because it was returning true! Now returns false. Also added
test to cover the issue.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/datalorax/commons-lang
bug/LANG-1114-TypeUtils.ParameterizedType#equals_does_not_work_with_wildcard_types
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/commons-lang/pull/65.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #65
----
commit b053737c2e64303cfcaca0fb07c1f13d352a7b8e
Author: The Datalorax <[email protected]>
Date: 2015-04-18T21:14:06Z
#LANG-1114 TypeUtils.equals is broken for WildcardType, when compared with
non-wildcard type.
It was broken because it was returning true! Now returns false. Also added
test to highlight issue.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]