Commit Graph

2470 Commits

Author SHA1 Message Date
Thomas Neidhart 94cfd56bd9 Use varargs instead of arrays as input argument where applicable.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479347 13f79535-47bb-0310-9956-ffa450edef68
2013-05-05 16:01:15 +00:00
Thomas Neidhart 9687cf07f3 Use varargs instead of array in constructor.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479344 13f79535-47bb-0310-9956-ffa450edef68
2013-05-05 15:48:01 +00:00
Thomas Neidhart 67e443370e Use also varargs in internal FunctorUtils.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479343 13f79535-47bb-0310-9956-ffa450edef68
2013-05-05 15:43:38 +00:00
Thomas Neidhart ace5ba00f7 Use varargs parameter instead of array.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479340 13f79535-47bb-0310-9956-ffa450edef68
2013-05-05 15:37:41 +00:00
Thomas Neidhart ef70de545e Add findbugs exclude filter for an unread field: it is used to make a hard reference.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479339 13f79535-47bb-0310-9956-ffa450edef68
2013-05-05 15:31:58 +00:00
Thomas Neidhart 4b2709eb5a Make javadoc happy.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479338 13f79535-47bb-0310-9956-ffa450edef68
2013-05-05 15:21:44 +00:00
Thomas Neidhart 5878adfaf3 [COLLECTIONS-453] Fix SwitchClosure and SwitchTransformer.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479337 13f79535-47bb-0310-9956-ffa450edef68
2013-05-05 15:20:59 +00:00
Thomas Neidhart 8283d966f4 [COLLECTIONS-453] Change ChainedTransformer and ChainedClosure constructors to copy input arguments, add private constructor for factory methods to not copy twice.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479336 13f79535-47bb-0310-9956-ffa450edef68
2013-05-05 15:06:50 +00:00
Thomas Neidhart afcbced8ef Removed ClosureUtils.chainedClosure(Closure, Closure) method as there is already one with vararg parameters.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479126 13f79535-47bb-0310-9956-ffa450edef68
2013-05-04 15:16:07 +00:00
Thomas Neidhart 2edf0b06a9 Removed unused field, the parent bidi map is accessed via decorated().
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479122 13f79535-47bb-0310-9956-ffa450edef68
2013-05-04 15:08:41 +00:00
Thomas Neidhart 1436aa0fc7 First draft for migration guide.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1478764 13f79535-47bb-0310-9956-ffa450edef68
2013-05-03 13:02:20 +00:00
Thomas Neidhart 0966609407 Add information about deprecation of ArrayStack.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1478741 13f79535-47bb-0310-9956-ffa450edef68
2013-05-03 11:58:38 +00:00
Thomas Neidhart ba78fe4a6d Update release notes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1478739 13f79535-47bb-0310-9956-ffa450edef68
2013-05-03 11:47:35 +00:00
Thomas Neidhart 43e4df85bd [COLLECTIONS-453] Clone input parameters, add null check, final.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477839 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 21:32:47 +00:00
Thomas Neidhart 05f3b74fd5 [COLLECTIONS-453] Clone input parameters for InstantiateTransformer.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477838 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 21:29:26 +00:00
Thomas Neidhart 10a5e1c698 Added exlude filter for MultiKey.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477834 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 21:17:16 +00:00
Sebastian Bazley 9f0af0bfee Document some valid @SuppressWarnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477829 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 21:11:28 +00:00
Thomas Neidhart 4b2778dd4a Updated description.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477807 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 20:14:39 +00:00
Thomas Neidhart 7d54ee797c Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477802 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 20:01:28 +00:00
Thomas Neidhart 810250d722 Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477799 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 19:56:11 +00:00
Thomas Neidhart b7a0c8d3de Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477798 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 19:49:02 +00:00
Thomas Neidhart 88564caa20 Remove trailing spaces, formatting + javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477795 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 19:44:16 +00:00
Thomas Neidhart 9af55b6479 Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477794 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 19:42:03 +00:00
Sebastian Bazley d31ea317a5 Ensure name is used
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477793 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 19:37:29 +00:00
Sebastian Bazley d403368879 Ignore boxing errors in test code
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477789 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 19:28:27 +00:00
Sebastian Bazley 46a1c86ab3 Explicit boxing
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477788 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 19:27:32 +00:00
Sebastian Bazley cf4d278990 Add hashCode() to keep Findbugs happy
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477787 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 19:26:42 +00:00
Sebastian Bazley c635393fb9 Unnecessary cast
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477785 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 19:24:02 +00:00
Sebastian Bazley 5d83e4deb8 Add some tests for toString
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477781 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 19:09:01 +00:00
Thomas Neidhart b7430de759 Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477779 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 18:55:24 +00:00
Sebastian Bazley 0ba5e75432 Ensure switch statements have defaults; ensure IllegalStateException messages include the index value
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477774 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 18:48:14 +00:00
Thomas Neidhart b979fd11e1 Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477772 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 18:44:21 +00:00
Thomas Neidhart eef240cfdf Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477765 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 18:37:37 +00:00
Thomas Neidhart 6ee118d2a1 Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477763 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 18:35:29 +00:00
Thomas Neidhart 274aa78fcd Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477760 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 18:34:03 +00:00
Thomas Neidhart d6b40fdbe9 Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477756 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 18:31:13 +00:00
Thomas Neidhart 315b0c786f Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477753 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 18:24:24 +00:00
Thomas Neidhart 7d9196da0e Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477752 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 18:21:52 +00:00
Thomas Neidhart 53cf9ed7f6 Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477747 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 18:16:48 +00:00
Thomas Neidhart 3b9d20636a Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477746 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 18:11:20 +00:00
Thomas Neidhart 75e7e31108 Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477745 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 18:08:32 +00:00
Thomas Neidhart 2565d09502 Add trailing whitespace checkstyle rule.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477744 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 18:03:28 +00:00
Sebastian Bazley 9a2f53d2d5 Trailing spaces
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477741 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 17:58:35 +00:00
Sebastian Bazley 361b737752 Explicit boxing
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477740 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 17:53:55 +00:00
Sebastian Bazley 1e6dceb8cc Trailing spaces
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477739 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 17:51:06 +00:00
Sebastian Bazley bb3d861fcd Explicit boxing shows that NPE may occur so document it
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477738 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 17:50:45 +00:00
Sebastian Bazley f7f4b909d0 Unnecessary code - the null check is already done below
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477737 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 17:49:12 +00:00
Sebastian Bazley 5df60bb0e6 Trailing spaces
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477661 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 14:27:35 +00:00
Sebastian Bazley 30f5f14baa Add comment markers for remaining classes where fields could perhaps be privatised
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477647 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 14:15:54 +00:00
Sebastian Bazley c4de3dd2bb Some Fields can be private
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477645 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 14:14:40 +00:00