Commit Graph

2008 Commits

Author SHA1 Message Date
Jochen Wiedmann e4ba77b3b1 PR: COLLECTIONS-331
Documented the requirement to use a comparator.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1079587 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 22:31:49 +00:00
Jochen Wiedmann 1327078501 PR: COLLECTIONS-332
Documented the dependency of ListOrderedMap on the standard Map contract of using equals() and hashCode().


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1079552 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 21:27:41 +00:00
Jochen Wiedmann 76cca602d5 PR: COLLECTIONS-334
Synchronizing access to locks in StaticBucketMap.size()


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1076039 13f79535-47bb-0310-9956-ffa450edef68
2011-03-01 22:35:01 +00:00
Jochen Wiedmann 0145c16a6f PR: COLLECTIONS-360
Prevent an NPE in FilterListIterator.next() and FilterListIterator.previous()


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1076034 13f79535-47bb-0310-9956-ffa450edef68
2011-03-01 22:10:10 +00:00
Jochen Wiedmann 152588c286 Adding .settings directory (Eclipse specific) to svn:ignore.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1076028 13f79535-47bb-0310-9956-ffa450edef68
2011-03-01 21:47:08 +00:00
Matthew Jason Benson 09ce7577d0 use svn:keywords and fix up @since tag
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1073169 13f79535-47bb-0310-9956-ffa450edef68
2011-02-21 22:13:15 +00:00
Matthew Jason Benson c346a58b07 [COLLECTIONS-242] svn properties as requested
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1073168 13f79535-47bb-0310-9956-ffa450edef68
2011-02-21 22:10:47 +00:00
Matthew Jason Benson 2aa374f85a add default Equator implementation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1073166 13f79535-47bb-0310-9956-ffa450edef68
2011-02-21 22:06:57 +00:00
Matthew Jason Benson d1016f05a5 tab police
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1070674 13f79535-47bb-0310-9956-ffa450edef68
2011-02-14 21:24:50 +00:00
Matthew Jason Benson 9a24ed01f7 address some testing TODOs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1070673 13f79535-47bb-0310-9956-ffa450edef68
2011-02-14 21:21:55 +00:00
Matthew Jason Benson e658fb9b50 remove bogus TODO comment
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1070672 13f79535-47bb-0310-9956-ffa450edef68
2011-02-14 21:19:07 +00:00
Matthew Jason Benson ed3d9ab90b [COLLECTIONS-330] javadoc: add warning about calling get() while iterating
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1069624 13f79535-47bb-0310-9956-ffa450edef68
2011-02-10 23:57:59 +00:00
Matthew Jason Benson a6d51b8d2f [COLLECTIONS-330] remove unreasonable expectations from LRUMap synchronized iteration tests
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1069618 13f79535-47bb-0310-9956-ffa450edef68
2011-02-10 23:50:23 +00:00
Gary D. Gregory 9b3bfe2fb9 Copyright
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1065788 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 21:16:39 +00:00
Sebastian Bazley 0e70e26a11 COLLECTIONS-363 TransformedMap is Serializable but its superclass doesn't define an accessible void constructor
Oops - overlooked the .obj files (Eclipse thinks .obj files are generated)

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1051295 13f79535-47bb-0310-9956-ffa450edef68
2010-12-20 21:21:38 +00:00
Sebastian Bazley 7d1c0ab090 COLLECTIONS-363 TransformedMap is Serializable but its superclass doesn't define an accessible void constructor
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1051248 13f79535-47bb-0310-9956-ffa450edef68
2010-12-20 19:24:29 +00:00
Sebastian Bazley b5e8745a41 A few raw types
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1026283 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 10:37:09 +00:00
Sebastian Bazley a99c022fbb Generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1026255 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 09:00:38 +00:00
Sebastian Bazley 1ae1850534 Generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1026194 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 01:29:16 +00:00
Sebastian Bazley f46321a44d No cast needed
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1026193 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 01:29:03 +00:00
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