Commit Graph

2138 Commits

Author SHA1 Message Date
Sebastian Bazley 8fc1425e84 Let JUnit 4 check the Exception
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1026191 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 01:18:19 +00:00
Sebastian Bazley 6f7691f90b No cast needed
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1026189 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 01:17:43 +00:00
Sebastian Bazley 19fcdb2971 Generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1026188 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 01:01:45 +00:00
Sebastian Bazley 898a12b6bf Raw type
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1026186 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 00:40:36 +00:00
Sebastian Bazley 7a36e60c96 Oops - the Lists can also contain non-Strings. May have to revert a few other casts.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024488 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 01:52:22 +00:00
Sebastian Bazley c81f67f5a8 Generics; fix keys as Strings only
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024482 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 01:36:02 +00:00
Sebastian Bazley b8e474dbf0 Raw types and unchecked casts
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024473 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 01:04:54 +00:00
Sebastian Bazley f6ac90fca9 git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024472 13f79535-47bb-0310-9956-ffa450edef68 2010-10-20 01:02:40 +00:00
Sebastian Bazley 2d69bd58ab Raw types and unchecked casts
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024471 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 01:02:09 +00:00
Sebastian Bazley a75a36299d Explicit unboxing
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024464 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 23:22:28 +00:00
Sebastian Bazley 32860a32cd Remove unnecessary null checks
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024273 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 15:28:24 +00:00
Sebastian Bazley 6a849937f5 Generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024103 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 03:37:19 +00:00
Sebastian Bazley db079b02f6 Generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024102 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 03:28:51 +00:00
Sebastian Bazley 95e20438a0 Generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024100 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 03:16:15 +00:00
Sebastian Bazley 94645dca65 Ignore serialUID warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024099 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 03:14:50 +00:00
Sebastian Bazley a6e67175e0 Localise @SuppressWarning
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024086 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 01:40:07 +00:00
Sebastian Bazley e6f8d11ba9 private immutable fields might as well be final
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024085 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 01:39:13 +00:00
Sebastian Bazley 452e51e949 generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024084 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 01:38:58 +00:00
Sebastian Bazley b2152cf627 private immutable fields might as well be final
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024083 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 01:37:38 +00:00
Sebastian Bazley ff8d2b1afd raw type
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024080 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 01:37:11 +00:00
Sebastian Bazley 73623d108c Explicit boxing
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023965 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 19:35:24 +00:00
Sebastian Bazley bc16601016 Generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023964 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 19:31:58 +00:00
Sebastian Bazley bf15307ea1 Generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023961 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 19:22:14 +00:00
Sebastian Bazley d4c9c2c7bf COLLECTIONS-364 DualTreeBidiMap.readObject() uses wrong comparator to create reverseMap
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023949 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 18:54:29 +00:00
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