GitHub user namannigam opened a pull request:
https://github.com/apache/commons-lang/pull/282
SwappedPair constructed as Pair.of(rhs,lhs)
There seems to be a bug in the current implementation of the `isRegistered`
implementation, where the `swappedPair` is constructed similarly to the
existing `pair` to check their existence in registry.
Source of finding -
[StackOverflow#45603317](https://stackoverflow.com/questions/45603317/)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/namannigam/commons-lang master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/commons-lang/pull/282.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 #282
commit 9cf2568f2429ad84469a09f2480effc47c0467ec
Author: namannigam
Date: 2017-08-10T03:15:27Z
SwappedPair constructed as Pair.of(rhs,lhs)
commit 17bb505f2ab99f61b9fe99fb549df3dbdda957ff
Author: namannigam
Date: 2017-08-10T03:19:37Z
Revert import format
---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---