Commit Graph

2142 Commits

Author SHA1 Message Date
Sebastian Bazley 3545b25d59 Findbugs: more efficient to use valueOf
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1300033 13f79535-47bb-0310-9956-ffa450edef68
2012-03-13 09:41:08 +00:00
Sebastian Bazley 829da75d82 Findbugs: don't catch Exception; more efficient to use valueOf()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1300030 13f79535-47bb-0310-9956-ffa450edef68
2012-03-13 09:38:06 +00:00
Sebastian Bazley bef3b732bd No longer need Ant to build test jar
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1300007 13f79535-47bb-0310-9956-ffa450edef68
2012-03-13 08:50:10 +00:00
Sebastian Bazley dc610733dd Update to CP24
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1300006 13f79535-47bb-0310-9956-ffa450edef68
2012-03-13 08:49:04 +00:00
Sebastian Bazley a5b3f83da2 Update plugin versions; allow checkstyle to be run interactively
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1300005 13f79535-47bb-0310-9956-ffa450edef68
2012-03-13 08:48:12 +00:00
Sebastian Bazley 392cb361be Fix up paths
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1299376 13f79535-47bb-0310-9956-ffa450edef68
2012-03-11 15:18:38 +00:00
Sebastian Bazley be5f48ea4f Move test data under test/resources
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1299241 13f79535-47bb-0310-9956-ffa450edef68
2012-03-10 17:49:28 +00:00
Sebastian Bazley a3003d79bc Some checkstyle names have changed
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1299234 13f79535-47bb-0310-9956-ffa450edef68
2012-03-10 17:02:12 +00:00
Sebastian Bazley 92e8f95b6a Tab police
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1299233 13f79535-47bb-0310-9956-ffa450edef68
2012-03-10 17:01:13 +00:00
Sebastian Bazley d4747e7edc Work-round for PMD crash
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1299228 13f79535-47bb-0310-9956-ffa450edef68
2012-03-10 16:13:31 +00:00
Sebastian Bazley 8b374ab6ff Standardise keywords
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1299215 13f79535-47bb-0310-9956-ffa450edef68
2012-03-10 14:56:05 +00:00
Sebastian Bazley 260d7d376b Drop Date keyword
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1299212 13f79535-47bb-0310-9956-ffa450edef68
2012-03-10 14:51:40 +00:00
Sebastian Bazley 703c40396d Drop Date
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1299211 13f79535-47bb-0310-9956-ffa450edef68
2012-03-10 14:35:57 +00:00
Sebastian Bazley e97b1bbb02 Remove $Date$ SVN variable
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1299210 13f79535-47bb-0310-9956-ffa450edef68
2012-03-10 14:34:45 +00:00
Sebastian Bazley 28d5e308a1 Javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1299209 13f79535-47bb-0310-9956-ffa450edef68
2012-03-10 14:28:37 +00:00
Sebastian Bazley 42899fe63f Update to CP23; can now remove quite a few local overrides
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1298538 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 19:54:48 +00:00
Sebastian Bazley 8ffb78ec50 MOve to standard Maven layout
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1298531 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 19:29:25 +00:00
Phil Steitz e57889f7fc Removed self from team list.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1222720 13f79535-47bb-0310-9956-ffa450edef68
2011-12-23 16:17:33 +00:00
Gary D. Gregory d51a9262f2 [COLLECTIONS-384] Inconsistent Javadoc comment and code for synchronizedMap(Map) in org.apache.commons.collections.MapUtils.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1195031 13f79535-47bb-0310-9956-ffa450edef68
2011-10-29 20:53:06 +00:00
Olivier Lamy f478980123 ignore *.iml
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1183273 13f79535-47bb-0310-9956-ffa450edef68
2011-10-14 10:09:45 +00:00
David Brosius db21443715 fix invalid parameter check -- only problem could be that it is null, not, not instanceof Class
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1177393 13f79535-47bb-0310-9956-ffa450edef68
2011-09-29 18:37:26 +00:00
David Brosius 2ad95ff46e add ignoreantruntime flag to quell build warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1177384 13f79535-47bb-0310-9956-ffa450edef68
2011-09-29 18:13:06 +00:00
Matthew Jason Benson 5a2fc90746 [COLLECTIONS-251] improving static factory methods for static importability, conistency
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1148801 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 14:44:46 +00:00
Brent Worden 4499cf0862 COLLECTIONS-213. Added multiple use support to IteratorIterable.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1127604 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 18:04:29 +00:00
Brent Worden 936fd069c7 COLLECTIONS-313. Added abstract closure that is capable of handling thrown exceptions from closure execution.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1127199 13f79535-47bb-0310-9956-ffa450edef68
2011-05-24 18:28:13 +00:00
Brent Worden 000e2fed2d COLLECTIONS-306. Added @since.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1127125 13f79535-47bb-0310-9956-ffa450edef68
2011-05-24 16:12:00 +00:00
Brent Worden 99be993a40 COLLECTIONS-306. Added predicated subtract method to CollectionUtils.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1127123 13f79535-47bb-0310-9956-ffa450edef68
2011-05-24 16:11:07 +00:00
Brent Worden 0543f907c1 COLLECTIONS-213. Added IteratorIterable adaptor class.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1126836 13f79535-47bb-0310-9956-ffa450edef68
2011-05-24 02:46:02 +00:00
Brent Worden 07947bd69e [COLLECTIONS-362] changed filter return value to boolean.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1125466 13f79535-47bb-0310-9956-ffa450edef68
2011-05-20 16:56:34 +00:00
Brent Worden 501b94143a [COLLECTIONS-229] removed remaining deprecated methods.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1125367 13f79535-47bb-0310-9956-ffa450edef68
2011-05-20 13:04:44 +00:00
Gary D. Gregory 1f3d2b96a0 Fix Oracle Javadoc site references (was Sun.)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1095934 13f79535-47bb-0310-9956-ffa450edef68
2011-04-22 13:46:56 +00:00
Gary D. Gregory d95b0a5105 Follow branding reqs from http://www.apache.org/foundation/marks/pmcs#graphics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1079868 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 16:20:17 +00:00
Gary D. Gregory 7b19ef8a34 Ignore resources generated by Maven eclipse:eclipse
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1079867 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 16:18:20 +00:00
Jochen Wiedmann cb19f2d73f PR: COLLECTIONS-323
Submitted-By: Maarten Brak <maarten.brak@quinity.com>
Allow to use an initial capacity of 0 on certain maps.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1079602 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 23:37:01 +00:00
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