I added generics to PredicateUtils and the predicates it creates
----------------------------------------------------------------
Key: COLLECTIONS-253
URL: https://issues.apache.org/jira/browse/COLLECTIONS-253
Project: Commons Collections
Issue Type: Improvement
Components: Collection
Affects Versions: Generics
Environment: Mac OS X
Reporter: Edwin Tellman
Priority: Minor
Fix For: Generics
I added generics to PredicateUtils and the predicates it creates (AndPredicate,
AllPredicate, etc.). I also made use of variable argument arrays where it
seemed appropriate.
I modified TestPredicateUtils to use JUnit4 and EasyMock. I created new test
classes for some of the predicates and migrated some of the existing tests from
TestPredicateUtils to test classes for specific predicates. This allowed for
the definition of some common tests and mock predicate creation routines in a
base class.
I added a unit test for the InvokerTransformer class.
This patch depends on COLLECTIONS-247 as it uses JUnit4 and EasyMock.
I believe there is some overlap between this patch and the patch attached to
COLLECTIONS-110 by Hendrik Maryns yesterday.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]