Commit Graph

24 Commits

Author SHA1 Message Date
Alex Herbert 4797acefba Fixed checkstyle.
Add missing newlines at end of files.

Remove redundant modifiers.

Fix incorrect Apache license header.

Fix whitespace around elements.

Remove tab characters.

Fix right-curly location.

Correct modifier order.
2020-02-18 23:07:19 +00:00
Gary Gregory 7d06bd77e9 [COLLECTIONS-747] MultiKey.getKeys class cast exception. 2020-02-16 15:18:27 -05:00
Gary Gregory 0eb36e1c78 Javadoc: Replace <code></code> HTML tags with Javadoc {@code} notation. 2019-12-09 22:03:10 -05:00
Gary Gregory 513ae545ee Use Objects#requireNonNull() instead of if-null-then-throw-NPE.
Use simple exception message, instead of mix of message formats.
2019-12-09 21:01:21 -05:00
Chen 45080bed99 Fix inconsistent @throws comments in ListOrderedSet (#125)
* Fix inconsistent @throws comments in ListOrderedSet

* Fix inconsistent @throws comments in MultiKey and update the test cases for them.
2019-12-09 11:06:51 -05:00
Gary Gregory 38b8a8975f Javadoc: Add missing @param tags for generics. 2019-07-05 10:37:07 -04:00
Gary Gregory b0b5759d5a Close tags in class-level Javadoc. No empty p tags.
Remove trailing spaces.
2019-05-10 08:37:02 -04:00
Gary Gregory 059c468f73 Use final. 2018-01-02 19:51:56 -07:00
Gary Gregory b5eb4fcc8d Revert "Use final for params."
This reverts commit cefe846e3e.
2017-10-11 16:34:10 -06:00
Gary Gregory cefe846e3e Use final for params. 2017-10-11 16:25:21 -06:00
Bruno P. Kinoshita 9ae946c7da Fix two PMD issues, but comment others where if's were added for readability 2017-09-13 00:51:31 +12:00
Bruno P. Kinoshita 29d2e93966 Remove @version tag as this component has been migrated to git 2017-09-12 23:00:44 +12:00
Gary Gregory eef8f1a0aa Remove redundant type arguments. 2017-07-26 23:43:14 -07:00
Gary D. Gregory 5250fdfdf3 Add missing @Overrides
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1734633 13f79535-47bb-0310-9956-ffa450edef68
2016-03-11 21:12:21 +00:00
Thomas Neidhart f8bd75d37c [COLLECTIONS-576] Fix de-serialization of MultiKey subclasses: hashcode was not re-calculated. Thanks to Stephan Roch.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1705620 13f79535-47bb-0310-9956-ffa450edef68
2015-09-28 08:53:44 +00:00
Thomas Neidhart 68bbd2cf4a [COLLECTIONS-570] Consistently use a NullPointerException if a required input is null.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1686855 13f79535-47bb-0310-9956-ffa450edef68
2015-06-22 13:00:27 +00:00
Benedikt Ritter f453d6d13f Revert changes from r1632886 after comments by Thomas Neidhart
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1633168 13f79535-47bb-0310-9956-ffa450edef68
2014-10-20 14:39:12 +00:00
Benedikt Ritter ab82b11dde COLLECTIONS-535: Clarify JavaDoc of MultiKey getKey() and size(). This closes #4 from github. Thanks to Alexander Kjäll
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1632886 13f79535-47bb-0310-9956-ffa450edef68
2014-10-19 10:10:45 +00:00
Thomas Neidhart 4fca8268a9 [COLLECTIONS-485] Added wildcards to copy-constructors and unmodifiable decorators / iterators, thanks to Hollis Waite.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1533984 13f79535-47bb-0310-9956-ffa450edef68
2013-10-20 21:12:51 +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
Sebastian Bazley 5ce18d6487 Privatise key & value; add protected setters (fields were protected)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477599 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 12:44:12 +00:00
Sebastian Bazley fcf4320023 Make fields private (and final) if possible
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477400 13f79535-47bb-0310-9956-ffa450edef68
2013-04-29 22:58:50 +00:00
Thomas Neidhart 696c768716 Added more issues which were marked with fix version 4.0-beta1, applied one pending fix for using Arrays.toString.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1476681 13f79535-47bb-0310-9956-ffa450edef68
2013-04-27 21:48:13 +00:00
Thomas Neidhart a8d1066b5e [COLLECTIONS-452] Change package to o.a.c.collections4.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1469004 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 17:37:03 +00:00