Commit Graph

416 Commits

Author SHA1 Message Date
Stephen Kestle a1c541d9b4 Generified NullPredicate and created individual test class moved on TestPredicateUtils
Renamed PredicateTestBase to MockPredicateTestBase to reduce confusion and added BasicPredicateTestBase.

Issues: COLLECTIONS-243, COLLECTIONS-253, COLLECTIONS-293

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/collections_jdk5_branch@643782 13f79535-47bb-0310-9956-ffa450edef68
2008-04-02 08:00:00 +00:00
Stephen Kestle 2ff40efc54 Fixed (another) compilation error in PredicateUtils and added method deprecations for new call-through static constructors.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/collections_jdk5_branch@643606 13f79535-47bb-0310-9956-ffa450edef68
2008-04-01 21:52:12 +00:00
Stephen Kestle a4658d5834 Fixed compilation error in PredicateUtils
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/collections_jdk5_branch@643593 13f79535-47bb-0310-9956-ffa450edef68
2008-04-01 21:39:01 +00:00
Stephen Kestle eb5966d8dd Added Equator interface for COLLECTIONS-242.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/collections_jdk5_branch@643590 13f79535-47bb-0310-9956-ffa450edef68
2008-04-01 21:36:59 +00:00
Stephen Kestle 88aae2856c Started incorporating Edwin's patch for COLLECTIONS-253, in preparation for COLLECTIONS-290.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/collections_jdk5_branch@641231 13f79535-47bb-0310-9956-ffa450edef68
2008-03-26 09:58:51 +00:00
Henri Yandell 63b2ac8cbd Fixing the assemblies to say project.version instead of version to stop '2.4.1' leaking through from the JVM properties. Also making it project.artifactId while I'm doing this.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/collections_jdk5_branch@637007 13f79535-47bb-0310-9956-ffa450edef68
2008-03-14 06:41:17 +00:00
Stephen Kestle e3f8817527 Added KeyValue for creation of deprecated jar to support Hibernate (dependency of SequencedHashMap)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/collections_jdk5_branch@636579 13f79535-47bb-0310-9956-ffa450edef68
2008-03-12 23:51:04 +00:00
Niall Kegan Pemberton 473e66380a Upgrade to version 9 of commons-parent
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/collections_jdk5_branch@635246 13f79535-47bb-0310-9956-ffa450edef68
2008-03-09 14:22:38 +00:00
Niall Kegan Pemberton 972a10cef4 Remove redundant <resource> configuration for NOTICE/LICENSE - these are configured in commons-parent (NOTE: seems that components which define other <resource> elements need to include these - so only removing from components where NOTICE/LICENSE are the only resources configured)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/collections_jdk5_branch@632895 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 01:01:58 +00:00
Niall Kegan Pemberton 273191c7c3 Upgrade to commons-parent-8 and add configuration properties for OSGi (maven-bundle-plugin) and commons-build-plugin.
Add Issue Tracking and Download pages generated by commons-build-plugin

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/collections_jdk5_branch@632819 13f79535-47bb-0310-9956-ffa450edef68
2008-03-02 19:50:07 +00:00
Niall Kegan Pemberton dddfd60c4a upgrade to commons-parent-7
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/collections_jdk5_branch@612220 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 21:06:08 +00:00
Niall Kegan Pemberton 1f4abd8c90 Upgrade to commons-parent version 6 release
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/collections_jdk5_branch@609498 13f79535-47bb-0310-9956-ffa450edef68
2008-01-07 03:16:37 +00:00
Stephen Kestle e8ee245bbe Added deprecated.jar target for accepting a 3.* version of collections and pulling out classes needed by hibernate
Jira: COLLECTIONS-277

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/collections_jdk5_branch@596857 13f79535-47bb-0310-9956-ffa450edef68
2007-11-20 22:36:46 +00:00
Niall Kegan Pemberton 7e56206228 Port Jakarta-->Commons TLP changes to JDK5 branch
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/collections_jdk5_branch@595918 13f79535-47bb-0310-9956-ffa450edef68
2007-11-17 07:19:43 +00:00
Niall Kegan Pemberton 3ec2bc2604 Copy m2 build to the collections_jdk5_branch
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/collections_jdk5_branch@595917 13f79535-47bb-0310-9956-ffa450edef68
2007-11-17 07:15:03 +00:00
Stephen Kestle 586ad483ef Missed 1 variable rename causing test to fail for COLLECTIONS-245
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/collections_jdk5_branch@593968 13f79535-47bb-0310-9956-ffa450edef68
2007-11-11 21:59:08 +00:00
Stephen Kestle e7ab1162c2 Applied (most of) Brian Egge's clean up patch of previous commit for COLLECTIONS-245 - thanks! (And we're at 100%)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/collections_jdk5_branch@593964 13f79535-47bb-0310-9956-ffa450edef68
2007-11-11 21:44:41 +00:00
Stephen Kestle c89f4d25d8 Fixed junit compilation to use test.support.path instead of junit.jar
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/collections_jdk5_branch@593382 13f79535-47bb-0310-9956-ffa450edef68
2007-11-09 01:56:05 +00:00
Stephen Kestle f1fbf75f81 Fixed ambiguous method call error due to auto-boxing. (Seems to be introduced in jdk 1.5.0_07 on Windows)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/collections_jdk5_branch@593381 13f79535-47bb-0310-9956-ffa450edef68
2007-11-09 01:35:22 +00:00
Stephen Kestle f913f600ad Added initial IndexedCollection - still needs quite a bit of work - see TODO comments
JIRA: COLLECTIONS-275

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/collections_jdk5_branch@593347 13f79535-47bb-0310-9956-ffa450edef68
2007-11-08 22:49:02 +00:00
Stephen Kestle cf3ddae273 Updated CollectionUtils and test. Probably 80-90% complete for generics. Very open to review / patches.
Jira: COLLECTIONS-245

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/collections_jdk5_branch@593144 13f79535-47bb-0310-9956-ffa450edef68
2007-11-08 12:21:55 +00:00
Stephen Kestle a8f01f53c1 Generified LazySortedMap to fix build errors
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/collections_jdk5_branch@572176 13f79535-47bb-0310-9956-ffa450edef68
2007-09-02 22:04:41 +00:00
Stephen Kestle aa66de500c Cleaned imports, formatting
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/collections_jdk5_branch@572157 13f79535-47bb-0310-9956-ffa450edef68
2007-09-02 21:12:28 +00:00
Stephen Kestle 03d2fa1c8a Added <Object, Object> generification for LazySortedMap to temporarily fix javac compilation problems
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/collections_jdk5_branch@572156 13f79535-47bb-0310-9956-ffa450edef68
2007-09-02 21:12:06 +00:00
Stephen Kestle b2939e2c47 Generified LazyMap
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/collections_jdk5_branch@571381 13f79535-47bb-0310-9956-ffa450edef68
2007-08-31 05:13:56 +00:00
Stephen Kestle 683959a471 Generified InstantiateFactory (missed -another;sorry- commit file!)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/collections_jdk5_branch@570395 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 12:08:29 +00:00
Stephen Kestle fe17d78427 Generified InstantiateFactory (missed commit file!)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/collections_jdk5_branch@570382 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 11:24:46 +00:00
Stephen Kestle f51f239178 Generified InstantiateFactory
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/collections_jdk5_branch@570378 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 11:03:40 +00:00
Stephen Kestle 70f2da7d57 Integrated emma coverage into build.xml
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/collections_jdk5_branch@570371 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 10:48:24 +00:00
Stephen Kestle a93c64409f Extracted private CollectionUtils.CardinalityHelper classes to allow easier generic refactoring/maintenance and code readability.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/collections_jdk5_branch@562381 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 08:15:35 +00:00
Niall Kegan Pemberton 39896a4669 Test commit (just remove a trailing space) on Collections JDK5 Branch
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/collections_jdk5_branch@561846 13f79535-47bb-0310-9956-ffa450edef68
2007-08-01 15:53:19 +00:00
Henri Yandell 8e712055dd Moving to TLP
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/collections_jdk5_branch@560660 13f79535-47bb-0310-9956-ffa450edef68
2007-07-29 03:42:34 +00:00
Henri Yandell 997294774d Moving back :)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/branches/collections_jdk5_branch@560658 13f79535-47bb-0310-9956-ffa450edef68
2007-07-29 03:42:15 +00:00
Henri Yandell 41fdf4d8b7 Moving to TLP
git-svn-id: https://svn.apache.org/repos/asf/commons/commons/proper/collections/branches/collections_jdk5_branch@560657 13f79535-47bb-0310-9956-ffa450edef68
2007-07-29 03:40:41 +00:00
Stephen Kestle d6f637fbf9 Added explicit dir="${basedir}" property to the junit task to ensure that <ant> tasks referencing this build.xml from another directory will still load up the relative path test data correctly.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/branches/collections_jdk5_branch@557489 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 04:43:23 +00:00
Stephen Kestle 54739bcf92 Skipped failing SerializedCanonicalTests. Marked code to be revisited through collections re-work.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/branches/collections_jdk5_branch@557435 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 00:35:50 +00:00
Stephen Kestle 5494aacffb Added junit4 and easymock to the project
Issue: COLLECTIONS-247

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/branches/collections_jdk5_branch@555930 13f79535-47bb-0310-9956-ffa450edef68
2007-07-13 10:54:00 +00:00
Stephen Kestle bd9bab2099 Added Edwin Tellman's patch for COLLECTIONS-243.
It all seems pretty reasonable, and it should all be checked again as the project is worked through

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/branches/collections_jdk5_branch@555925 13f79535-47bb-0310-9956-ffa450edef68
2007-07-13 10:39:24 +00:00
Stephen Colebourne 85b3f4faa4 Generify CompositeCollection
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/branches/collections_jdk5_branch@471580 13f79535-47bb-0310-9956-ffa450edef68
2006-11-06 00:22:53 +00:00
Stephen Colebourne 898be70eaa Generify, remove getBuffer() - use covariant decorated()
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/branches/collections_jdk5_branch@471579 13f79535-47bb-0310-9956-ffa450edef68
2006-11-06 00:14:58 +00:00
Stephen Colebourne 52674fa23d Generify
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/branches/collections_jdk5_branch@471578 13f79535-47bb-0310-9956-ffa450edef68
2006-11-06 00:11:13 +00:00
Stephen Colebourne 8eab22e729 Generify and remove AbstractSerializableCollectionDecorator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/branches/collections_jdk5_branch@471575 13f79535-47bb-0310-9956-ffa450edef68
2006-11-05 23:58:08 +00:00
Stephen Colebourne 937e261e65 Generify
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/branches/collections_jdk5_branch@471498 13f79535-47bb-0310-9956-ffa450edef68
2006-11-05 19:24:09 +00:00
Stephen Colebourne 9b78600daa Generify
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/branches/collections_jdk5_branch@471214 13f79535-47bb-0310-9956-ffa450edef68
2006-11-04 15:21:01 +00:00
Stephen Colebourne d855890756 Whitespace change
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/branches/collections_jdk5_branch@471203 13f79535-47bb-0310-9956-ffa450edef68
2006-11-04 14:28:02 +00:00
Stephen Colebourne f2ae841af6 Remove getCollection() - use covariant decorated()
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/branches/collections_jdk5_branch@471202 13f79535-47bb-0310-9956-ffa450edef68
2006-11-04 14:21:44 +00:00
Stephen Colebourne 6b1e3197b5 Remove getBag() - use covariant decorated()
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/branches/collections_jdk5_branch@471201 13f79535-47bb-0310-9956-ffa450edef68
2006-11-04 14:17:26 +00:00
Stephen Colebourne 5212b14250 Remove getList() - use decorated()
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/branches/collections_jdk5_branch@471192 13f79535-47bb-0310-9956-ffa450edef68
2006-11-04 14:04:46 +00:00
Stephen Colebourne 0992eec7a2 Remove getMap(), getOrderedMap() and getSortedMap() - use decorated()
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/branches/collections_jdk5_branch@471189 13f79535-47bb-0310-9956-ffa450edef68
2006-11-04 13:57:57 +00:00
Stephen Colebourne f38f7bfd62 Remove getSet() and getSortedSet() - use decorated()
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/branches/collections_jdk5_branch@471186 13f79535-47bb-0310-9956-ffa450edef68
2006-11-04 13:47:51 +00:00