Commit Graph

2014 Commits

Author SHA1 Message Date
Sebastian Bazley 8f9fe40f7c Generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023929 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 18:14:23 +00:00
Sebastian Bazley b29dd0968d Rename private variables to prevent hiding
Don't assign to null twice

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023917 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 17:36:03 +00:00
Sebastian Bazley fa805c3732 Generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023910 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 17:11:40 +00:00
Sebastian Bazley 4675fcd99f Fix raw types
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023903 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 17:00:44 +00:00
Sebastian Bazley a68c67c121 Tab and trailing space removal
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023897 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 16:45:29 +00:00
Sebastian Bazley 218ba8fd3b Fix boxing and some raw types warninga
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023887 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 16:25:37 +00:00
Sebastian Bazley def5d54ebe Unnecessary ;
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023881 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 16:14:15 +00:00
Sebastian Bazley 3a00afab89 Fix boxing and some raw types warninga
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023862 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 15:47:27 +00:00
Sebastian Bazley 5acf983bd8 Don't warn about boxing for test class
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023857 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 15:37:22 +00:00
Sebastian Bazley 759f45057a Tidy tests - split into smaller unit and use expected tag
enable test that was overlooked

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023855 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 15:36:04 +00:00
Sebastian Bazley 0c73a54d14 Fix test case warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023848 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 15:27:22 +00:00
Sebastian Bazley 8d4d6cc5d4 Make indexOf generic like the other methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023843 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 15:21:39 +00:00
Sebastian Bazley 2e2bca346b Avoid NPE warning by using assertNotNull
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023835 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 15:09:02 +00:00
Sebastian Bazley d0f6869a56 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023834 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 15:08:37 +00:00
Sebastian Bazley 0e024cabe1 Raw types
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023833 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 15:08:14 +00:00
Sebastian Bazley 1fb865ca56 Raw types
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023832 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 15:07:04 +00:00
Sebastian Bazley 28e8ba5476 serialVersionUID
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023782 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 13:06:44 +00:00
Sebastian Bazley f3941347f0 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023780 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 13:06:25 +00:00
Sebastian Bazley 9519790856 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023771 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 12:43:21 +00:00
Sebastian Bazley 1c949d0a71 Raw types
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023770 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 12:42:41 +00:00
Sebastian Bazley 3057736c79 Raw types
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023769 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 12:42:04 +00:00
Sebastian Bazley 0a31bb5731 Unnecessary cast
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023768 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 12:41:35 +00:00
Sebastian Bazley 342ac1462c Use explicit boxing/unboxing
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023767 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 12:41:21 +00:00
Sebastian Bazley c41056bff9 Simplify test exclusions
Allow tests to be run without using Emma

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023757 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 12:08:50 +00:00
Sebastian Bazley fcb2f44382 Simplify test exclusions
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023756 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 12:07:47 +00:00
Sebastian Bazley 17be7dfd95 Rename abstract Test* classes to AbstractTest*
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023746 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 11:45:44 +00:00
Sebastian Bazley 9dfb8286f3 Remove unnecessary main() and suite() methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023744 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 11:36:20 +00:00
Sebastian Bazley 7de09a809c Unused import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023743 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 11:30:22 +00:00
Sebastian Bazley 985feca469 Delete aggregate test classes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023738 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 10:59:06 +00:00
Sebastian Bazley ca154e1815 TestAll* caught too many test classes
TestHashMap is not abstract

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023472 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 12:12:11 +00:00
Sebastian Bazley 55b3265e69 Synchronise tests with Ant build; update to latest JUnit
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023468 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 11:45:35 +00:00
Sebastian Bazley 8836de67a8 TestUtils contains no test cases, just test utilities
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023467 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 11:44:57 +00:00
Sebastian Bazley aa048da715 Use generated rather than dummy serialVersionUIDs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023461 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 11:26:38 +00:00
Sebastian Bazley 6cfa5daebc Add (disabled) test for Collections-363
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023454 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 11:02:15 +00:00
Brent Worden 9976cbe48d [COLLECTIONS-327] added serialVersionUID.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023281 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 13:24:12 +00:00
Brent Worden 24264d13ed [COLLECTIONS-8] added comparator based predicate.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023105 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 20:44:33 +00:00
Brent Worden 218be52809 [COLLECTIONS-327] added serialVersionUID.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023078 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 19:29:44 +00:00
Niall Kegan Pemberton 6239f7ef14 COMMONSSITE-57 Fix announce mod_mbox link
(I used version 1.4-SNAPSHOT of the commons-build-plugin to do this - need to release it and update commons-parent at some point)

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1005115 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 16:38:08 +00:00
Sebastian Bazley 767a23ffda revert change of StringBuilder => StringBuffer because only the latter has setLength()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1003360 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 02:27:12 +00:00
Sebastian Bazley 2d2aefe361 Fix up generics and other warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@966368 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 19:07:52 +00:00
Sebastian Bazley fb3daab4fd Fix up generics and other warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@966367 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 19:06:17 +00:00
Sebastian Bazley 3d86019dad easymock has relocated to org.easymock
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@966334 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 18:01:14 +00:00
Sebastian Bazley 5cabc0f86f Add missing @Override markers
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@966327 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 17:39:49 +00:00
Sebastian Bazley 9601875f69 Add missing @Override markers
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@966316 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 17:04:22 +00:00
Sebastian Bazley c9e19ce6cd Add missing @Override markers
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@966315 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 17:03:58 +00:00
Henri Yandell da5a378c4f Applying Thomas Rogan's patch to COLLECTIONS-328, improving the performance to ListUtils.intersection in the manner described by Jilles van Gurp
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@965176 13f79535-47bb-0310-9956-ffa450edef68
2010-07-18 08:07:36 +00:00
Henri Yandell a11dc6aa1d Applying Mark Shead's patch to COLLECTIONS-359. The intersection method was not handling duplicates correctly.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@965173 13f79535-47bb-0310-9956-ffa450edef68
2010-07-18 07:43:15 +00:00
Henri Yandell ca34318ae2 This is 4.0 being worked on now, not 3.3
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@956326 13f79535-47bb-0310-9956-ffa450edef68
2010-06-20 08:24:06 +00:00
Henri Yandell bcdca8e6c9 Making the other two addAll methods return boolean on whether anything changes (somewhat related to COLLECTIONS-223)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@956306 13f79535-47bb-0310-9956-ffa450edef68
2010-06-19 23:00:59 +00:00
Henri Yandell ae77247f97 Moving from StringBuffer API to StringBuilder
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@956305 13f79535-47bb-0310-9956-ffa450edef68
2010-06-19 22:41:56 +00:00