GitHub user kaching88 opened a pull request:
https://github.com/apache/commons-collections/pull/13
Improve ListUtils#longestCommonSubsequence methods.
Improved version of ListUtils#longestCommonSubsequence to take third or
more parameters.
Rawtype lists is because in java 1.6 there is no way to prevent "Type
safety: A generic array is created for a varargs parameter" warning every
method call.
I also deprecated older two arguments versions of method and write some new
unit tests to handle threeOrMore-parameter version.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kaching88/commons-collections
longestCommonSubsequence
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/commons-collections/pull/13.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 #13
----
commit 5e49f80e17bc317c7e84d883a20c1b8ea1d54a43
Author: kaching88 <[email protected]>
Date: 2015-07-12T20:11:30Z
Improve ListUtils#longestCommonSubsequence to take third or more parameters.
----
---
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]