2536 Commits

Author SHA1 Message Date
Thomas Neidhart
834a75f8ea Upgrade easymock dependency: 2.5.2 -> 3.1
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1495857 13f79535-47bb-0310-9956-ffa450edef68
2013-06-23 17:48:50 +00:00
Sebastian Bazley
680752e141 Constructors must not invoke overrideable methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1494333 13f79535-47bb-0310-9956-ffa450edef68
2013-06-18 21:59:21 +00:00
Thomas Neidhart
4f00c55389 [COLLECTIONS-455] Changed remaining fields in question to scope package private.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1494296 13f79535-47bb-0310-9956-ffa450edef68
2013-06-18 20:54:29 +00:00
Sebastian Bazley
3361a74940 array can no longer be null, and the setter is history
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1494282 13f79535-47bb-0310-9956-ffa450edef68
2013-06-18 20:09:15 +00:00
Thomas Neidhart
0cba84e103 [COLLECTIONS-473] Made field collection private and added setter for de-serialization.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1494280 13f79535-47bb-0310-9956-ffa450edef68
2013-06-18 20:07:04 +00:00
Thomas Neidhart
74d39c4c4f Fix typos in release-notes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1494276 13f79535-47bb-0310-9956-ffa450edef68
2013-06-18 20:02:53 +00:00
Thomas Neidhart
125c820e8d Revert varargs parameter to plain array as it breaks tests on jdk 1.5 and 1.6.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1494275 13f79535-47bb-0310-9956-ffa450edef68
2013-06-18 20:02:36 +00:00
Thomas Neidhart
b1162d812e [COLLECTIONS-459] Made fields package private, as suggested.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1494267 13f79535-47bb-0310-9956-ffa450edef68
2013-06-18 19:35:36 +00:00
Thomas Neidhart
cbfea04200 Update site.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493945 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 21:24:21 +00:00
Thomas Neidhart
da4f36e8bd Added changelog entry for collections-455.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493942 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 21:15:52 +00:00
Thomas Neidhart
a02dafa47d Remove todos related to privatizing fields -> keep it as is for now.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493940 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 21:11:03 +00:00
Thomas Neidhart
c5cc3a04e2 Add change log entry for CompliantBag.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493939 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 21:08:51 +00:00
Thomas Neidhart
7725a72c73 [COLLECTIONS-468] Added CompliantBag decorator which decorates another bag to comply with the Collection contract.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493938 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 21:06:00 +00:00
Thomas Neidhart
1c8fbeaec2 Formatting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493930 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 20:42:55 +00:00
Thomas Neidhart
f8186792d1 added change entry for collections-459.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493923 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 20:30:21 +00:00
Thomas Neidhart
68c0a80d17 [COLLECTIONS-459] Removed setArray methods in ArrayIterator and ObjectArrayIterator, made fields final if possible.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493922 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 20:25:23 +00:00
Thomas Neidhart
20619b096c [COLLECTIONS-455] Remove todos: keep decorated object protected.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493902 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 19:40:34 +00:00
Thomas Neidhart
f9930aa9f3 Remove todo: types have been reviewed.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493564 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 18:20:11 +00:00
Thomas Neidhart
99c63edb10 submap view serialization works now properly.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493561 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 18:16:01 +00:00
Thomas Neidhart
ce1dc52bec Add comment to Todo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493556 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 18:02:35 +00:00
Thomas Neidhart
bf07b37e9a Fix link.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493555 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 18:01:59 +00:00
Thomas Neidhart
b1e8bcec97 Update assembly descriptor after moving of resources.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493545 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 17:47:31 +00:00
Thomas Neidhart
136b96c803 Fix findbugs warning.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493544 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 17:47:07 +00:00
Thomas Neidhart
56e4fac908 Further cleanup of build.xml: remove references to emma and other obsolete stuff.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493542 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 17:39:11 +00:00
Thomas Neidhart
3639533ad6 Update build.xml.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493531 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 16:40:40 +00:00
Thomas Neidhart
75bac6a355 Move configuration files to src/conf, update pom, add overrides for site path and scm pub url.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493528 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 16:26:10 +00:00
Thomas Neidhart
1ee5fd53b5 Update to parent 30, add clirr config.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493524 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 15:57:03 +00:00
Thomas Neidhart
0dee0324f6 Updates to tries: remove synchronized decorator, add javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493523 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 15:56:35 +00:00
Thomas Neidhart
157aa8daeb Make tests compile with various compilers.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493012 13f79535-47bb-0310-9956-ffa450edef68
2013-06-14 09:43:29 +00:00
Thomas Neidhart
0eaf4db681 Added change entry for trie package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1492871 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 21:17:31 +00:00
Thomas Neidhart
d5f763bd9e Removed obsolete test resources.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1492869 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 21:02:05 +00:00
Thomas Neidhart
4a025d3f8e Refactor trie package: reduce interface by extending IterableSortedMap and only adding prefixMap method, remove all key analyzers but the StringKeyAnalyzer, refactor PatriciaTrie class by moving all remaining methods to AbstractPatriciaTrie and fixing the key type to String, integrating the test classes into the framework.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1492867 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 21:01:23 +00:00
Thomas Neidhart
83226e162d Refactor trie package: reduce interface by extending IterableSortedMap and only adding prefixMap method, remove all key analyzers but the StringKeyAnalyzer, refactor PatriciaTrie class by moving all remaining methods to AbstractPatriciaTrie and fixing the key type to String, integrating the test classes into the framework.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1492866 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 21:01:00 +00:00
Thomas Neidhart
ed085d064c [COLLECTIONS-470] Renamed TransformedMap class in splitmap package to TransformedSplitMap.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1491944 13f79535-47bb-0310-9956-ffa450edef68
2013-06-11 20:29:22 +00:00
Thomas Neidhart
8e34831a65 Added todo for trie tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1491623 13f79535-47bb-0310-9956-ffa450edef68
2013-06-10 22:06:34 +00:00
Thomas Neidhart
81e47470cc Further cleanup of trie package & interface, renamed AbstractTrie to AbstractBitwiseTrie, added TODOs.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1491621 13f79535-47bb-0310-9956-ffa450edef68
2013-06-10 22:05:38 +00:00
Thomas Neidhart
467d516b9c Cleanup of trie package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1491615 13f79535-47bb-0310-9956-ffa450edef68
2013-06-10 21:46:19 +00:00
Thomas Neidhart
edd64cfd82 [COLLECTIONS-472] Improved performance of AbstractMapBag#containsAll. Thanks to Adrian Nistor.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1491258 13f79535-47bb-0310-9956-ffa450edef68
2013-06-09 18:35:24 +00:00
Sebastian Bazley
8f5e319af8 A bit more Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1482645 13f79535-47bb-0310-9956-ffa450edef68
2013-05-14 23:52:09 +00:00
Thomas Neidhart
ee1c540920 Update release notes to include split map addition
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1482553 13f79535-47bb-0310-9956-ffa450edef68
2013-05-14 20:10:10 +00:00
Thomas Neidhart
2e36e5e908 [COLLECTIONS-461] Added javadoc clarification to Put. Thanks to mbenson.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1482544 13f79535-47bb-0310-9956-ffa450edef68
2013-05-14 20:02:25 +00:00
Thomas Neidhart
3b57c46c76 Fix version tag
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1482539 13f79535-47bb-0310-9956-ffa450edef68
2013-05-14 19:52:43 +00:00
Thomas Neidhart
ee7ed6e655 Formatting + svn:keywords
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1482538 13f79535-47bb-0310-9956-ffa450edef68
2013-05-14 19:48:56 +00:00
Thomas Neidhart
cdacd4a987 [COLLECTIONS-460] Change IteratorChain to use a Queue internally.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1482514 13f79535-47bb-0310-9956-ffa450edef68
2013-05-14 18:36:12 +00:00
Thomas Neidhart
556ac8b0ad Fix javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1482073 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 20:09:40 +00:00
Thomas Neidhart
d9ed7afd9e [COLLECTIONS-466] Added entry to release notes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1481621 13f79535-47bb-0310-9956-ffa450edef68
2013-05-12 18:43:06 +00:00
Thomas Neidhart
a86de44927 Removed TODO, as the current API is fine imho: two versions, one for Iterable, one for Iterator.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1481606 13f79535-47bb-0310-9956-ffa450edef68
2013-05-12 16:58:49 +00:00
Thomas Neidhart
709aa7bf9c [COLLECTIONS-466] Replace Collection with Iterable where applicable in CollectionUtils.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1481605 13f79535-47bb-0310-9956-ffa450edef68
2013-05-12 16:56:26 +00:00
Thomas Neidhart
1194c69fb1 Formatting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1481598 13f79535-47bb-0310-9956-ffa450edef68
2013-05-12 16:28:28 +00:00
Thomas Neidhart
1fe64733a2 [COLLECTIONS-466] Replaced Collection with Iterable in MapUtils.populateMap methods.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1480230 13f79535-47bb-0310-9956-ffa450edef68
2013-05-08 11:35:20 +00:00