Commit Graph

2377 Commits

Author SHA1 Message Date
Thomas Neidhart 8411797028 [COLLECTIONS-312] use known collection size when creating arrays / lists.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1443538 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 15:12:21 +00:00
Sebastian Bazley 7fbace5ebc developed by => developed at
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1440692 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 21:43:00 +00:00
Thomas Neidhart 3493b11dde Removed duplicated assert.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1440480 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 15:43:55 +00:00
Thomas Neidhart 6516216f09 [COLLECTIONS-429] Fix containsAll in case coll2 contains the same value multiple times.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1440453 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 15:10:31 +00:00
Thomas Neidhart c2b58d4ac7 [COLLECTIONS-429] Add CollectionUtils.containsAll method with guaranteed runtime complexity regardless of used Collection.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1440418 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 13:55:02 +00:00
Thomas Neidhart 5a31eea7b4 [COLLECTIONS-322] added since tags, fixed javadoc example.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1439046 13f79535-47bb-0310-9956-ffa450edef68
2013-01-27 10:35:24 +00:00
Olivier Lamy bb7c225843 use new released parent
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1438964 13f79535-47bb-0310-9956-ffa450edef68
2013-01-26 21:10:47 +00:00
Thomas Neidhart 9fa82c7fb4 [COLLECTIONS-322] Added new NodeListIterator to iterate over a dom NodeList, thanks to Thomas Vahrst.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1438955 13f79535-47bb-0310-9956-ffa450edef68
2013-01-26 20:14:43 +00:00
Thomas Neidhart 71ac99b4e9 Fix wrong end tag.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1437451 13f79535-47bb-0310-9956-ffa450edef68
2013-01-23 15:13:19 +00:00
Thomas Neidhart 52d194465d Add myself to pom.xml.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1437423 13f79535-47bb-0310-9956-ffa450edef68
2013-01-23 14:53:24 +00:00
Thomas Neidhart f1e1622911 Update copyright to 2013.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1437040 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 16:42:14 +00:00
Thomas Neidhart 4dbcfeffbf Move input parameter cloning from factory method to the ctor to prevent findbugs warning.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1437018 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 16:08:48 +00:00
Thomas Neidhart 31ee36d162 Add findbugs exclude for ComparatorChain.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1437017 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 16:08:03 +00:00
Thomas Neidhart e1bd0cbfb5 Minor formatting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1437016 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 16:07:33 +00:00
Thomas Neidhart 5011f8cabd Fix findbugs warning wrt exposure of internal state.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1437000 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 15:39:58 +00:00
Thomas Neidhart 4b8889d152 Add more findbugs suppressions after verification.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1436964 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 14:38:35 +00:00
Thomas Neidhart ebb7cf69cf Fix typos and minor formatting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1436932 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 14:04:16 +00:00
Thomas Neidhart 3e5d03e527 Update test dependencies: junit 4.10 -> 4.11, easymock 2.0 -> 2.5.2
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1436909 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 13:32:28 +00:00
Thomas Neidhart 2f58e684dc Add more suppressions rules to checkstyle and findbugs.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1436903 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 13:26:00 +00:00
Thomas Neidhart 858899c92f Javadoc fixes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1436867 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 12:28:31 +00:00
Thomas Neidhart 8550de1c17 Add checkstyle suppression filter, do not create aggregate results.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1436863 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 12:16:42 +00:00
Thomas Neidhart 1a5a24da2d Formatting: line length.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1436835 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 11:03:31 +00:00
Thomas Neidhart c683446d5b Complete javadoc, remove {@inheritDoc} tags as suggested on the ml.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1436833 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 10:44:13 +00:00
Thomas Neidhart 38e3a7435f Complete javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1436822 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 09:54:11 +00:00
Thomas Neidhart f3fff979ca Fix typo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1436624 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 21:15:19 +00:00
Thomas Neidhart 6b5042cb52 Fix compilation problems with OpenJDK 1.6.0_24.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1436601 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 20:41:58 +00:00
Sebastian Bazley 3712f1a147 Dependency on SNAPSHOT parent causes problem for CI builds (at least on Jenkins)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1436532 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 18:20:39 +00:00
Thomas Neidhart 230597979a Complete javadoc, modify examples to use generics.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1436463 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 16:35:01 +00:00
Thomas Neidhart e4c40331b4 Complete javadoc, minor formatting, merge duplicate throws clauses.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1436415 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 15:29:34 +00:00
Thomas Neidhart 74e291a6a1 Add missing Apache license header.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1436405 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 15:15:56 +00:00
Thomas Neidhart ac857ee1e7 Complete javadoc, minor formatting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1436380 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 14:45:23 +00:00
Thomas Neidhart f99ac98da4 Complete javadoc, minor formatting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1436360 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 14:14:46 +00:00
Thomas Neidhart 9b11d27cd3 Add missing javadoc for generic type, rearrange order of javadoc tags, remove deprecation -> see COLLECTIONS-251.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1436345 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 13:49:53 +00:00
Thomas Neidhart 0d49f31370 Complete javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1436310 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 12:37:32 +00:00
Thomas Neidhart 076c6b723c Add generic type description in javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1436305 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 12:33:10 +00:00
Thomas Neidhart b3d25eb721 Add generic type description in javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1436304 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 12:30:57 +00:00
Thomas Neidhart 8f9bbcf049 Formatting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1436301 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 12:26:12 +00:00
Thomas Neidhart 1615f44ddd Add findbugs exclude filter for Flat3Map: switch fall-throughs and missing default case are intentional.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1436283 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 11:29:58 +00:00
Thomas Neidhart 76d6a4b8e4 Fix findbugs warning wrt exposed internal representation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1436254 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 10:11:42 +00:00
Thomas Neidhart 5954027e47 Fix findbugs warning wrt exposure of internal representation: introduce a common base class for quantification predicates and clone the internal predicate array.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1436241 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 09:49:21 +00:00
Sebastian Bazley 9d6a3eb828 Explicit unboxing
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1436075 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 01:37:51 +00:00
Sebastian Bazley 8864189257 Value cannot be null (Eclipse)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1436070 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 01:32:09 +00:00
Sebastian Bazley 80ec6a5e29 Document some unchecked casts
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1436066 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 01:28:08 +00:00
Sebastian Bazley bac08c04d4 Document and fix some unchecked casts
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1436053 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 01:15:51 +00:00
Sebastian Bazley 550d30609f Javadoc
Remove unsafe @SuppressWarnings

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1436044 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 01:08:58 +00:00
Sebastian Bazley 2c82062b7c Javadoc syntax fixes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1436026 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 00:55:20 +00:00
Thomas Neidhart aed4c18c13 Findbugs fixes: implement Cloneable when defining clone method.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1435981 13f79535-47bb-0310-9956-ffa450edef68
2013-01-20 21:50:44 +00:00
Thomas Neidhart 8747f6eaab Findbugs fixes: use e.g. Integer.valueOf instead of new Integer and similar.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1435980 13f79535-47bb-0310-9956-ffa450edef68
2013-01-20 21:48:58 +00:00
Thomas Neidhart 8aa8f5e67f Findbugs fixes: use e.g. Integer.valueOf instead of new Integer and similar.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1435979 13f79535-47bb-0310-9956-ffa450edef68
2013-01-20 21:47:51 +00:00
Thomas Neidhart df73c74f88 Add findbugs exclude filter.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1435977 13f79535-47bb-0310-9956-ffa450edef68
2013-01-20 21:44:05 +00:00