Commit Graph

3635 Commits

Author SHA1 Message Date
Chen 5d71ff3d29
Improve MapUtils with the null checks, add JUnit for it and add Javadoc for the parameter indent. (#126)
* Improve MapUtils with the null checks, add JUnit for it and add Javadoc for the parameter indent.

* Standardize on American English spelling of 'behavior'.

* Tested the NPE exceptions with the JUnit 5 APIs.

* Fixed the failure of CI with the ParameterResolutionException.

* Remove unused imports.
2020-04-28 09:41:39 -04:00
Gary Gregory f9f99ccfd6 Fix Checkstyle violations. 2020-04-28 08:59:24 -04:00
Gary Gregory 23bc4e7979 [COLLECTIONS-757] Update Javadoc in BidiMap classes #146. 2020-04-26 10:03:24 -04:00
Gary Gregory 8a4f0de557 [COLLECTIONS-757] Update the Javadoc of the BidiMap #146. 2020-04-26 10:00:55 -04:00
Chen c1082d5316
[COLLECTIONS-757] Update the JavaDoc of the BidiMap (#146)
* [COLLECTIONS-757] Update the JavaDoc of the BidiMap

* Starts the Javadoc with "Makes..." instead of "make..."
2020-04-26 09:59:21 -04:00
Gary Gregory a53127e3a5 Use try-with-resources to fix a random failure seen on Java 12. 2020-04-26 09:57:57 -04:00
Gary Gregory bd8e77d607 [COLLECTIONS-759] Add newline at end of file, and convert to unix (LF
instead of CRLF) fixing checkstyle #147.
2020-04-22 10:36:59 -04:00
Bruno P. Kinoshita 8eebabd481
[COLLECTIONS-759]: add newline at end of file, and convert to unix (LF instead of CRLF) fixing checkstyle (#147)
* [COLLECTIONS-759]: add newline at end of file, and convert to unix (LF instead of CRLF) fixing checkstyle

* Remove unused import
2020-04-22 10:35:40 -04:00
Claude Warren 0c39fbd170
made BloomFilterIndexer and HashFunctionValidator public (#139) 2020-04-21 11:27:23 -04:00
Gary Gregory aab2b832f9 - [COLLECTIONS-754] Upgrade to JUnit v5.6.0 #136
- [COLLECTIONS-753] Upgrade Hamcrest to 2.2.
2020-04-21 11:01:05 -04:00
John Patrick 558fc3eb46
COLLECTIONS-754 upgrade to JUnit v5.6.0 (#136)
* COLLECTIONS-753 update to hamcrest v2.2

* COLLECTIONS-754 update to junit v5.6.0
2020-04-21 10:57:22 -04:00
Bruno P. Kinoshita 477db84c1f Merge branch 'pr-158'
This closes #158
2020-04-19 18:39:21 +12:00
Isira Seneviratne e22691f810 Simplify several assertions in CollectionUtilsTest.
Also remove use of Integer constructor as it has been deprecated since Java 9.
2020-04-19 18:37:40 +12:00
Bruno P. Kinoshita 4d4caa6a92
Merge pull request #152 from Isira-Seneviratne/Simplify_assertions_in_IteratorUtilsTest
Simplify several assertions in IteratorUtilsTest.
2020-04-19 11:43:48 +12:00
Bruno P. Kinoshita 5907d36b26
Merge pull request #150 from Isira-Seneviratne/Simplify_assertions_in_MapUtilsTest
Simplify several assertions in MapUtilsTest.
2020-04-19 11:41:32 +12:00
Bruno P. Kinoshita ff178a3b63
Merge pull request #151 from Isira-Seneviratne/Simplify_assertions_in_ListUtilsTest
Simplify several assertions in ListUtilsTest.
2020-04-19 11:40:03 +12:00
Bruno P. Kinoshita 30f48c3d1d Merge branch 'pr-149'
This closes #149
2020-04-19 11:37:22 +12:00
Bruno P. Kinoshita e3aa7625b3 [COLLECTIONS-760]: add changelog 2020-04-19 11:36:50 +12:00
Isira Seneviratne 9beb1e0b11 [COLLECTIONS-760]: Add tests for MapUtils. 2020-04-19 11:36:50 +12:00
Isira Seneviratne a31740689b Simplify several assertions in IteratorUtilsTest. 2020-04-18 18:16:29 +05:30
Isira Seneviratne e264482529 Simplify several assertions in ListUtilsTest. 2020-04-18 18:05:22 +05:30
Isira Seneviratne 0ba5024a3d Simplify several assertions in MapUtilsTest. 2020-04-18 17:53:41 +05:30
Gary Gregory 6b1e2eb08b Add openjdk14 to Travis. 2020-04-15 09:34:45 -04:00
Gary Gregory 1d7c3d21f1 Better NPE messages in CollectionUtils with Objects.requireNonNull #117. 2020-04-09 09:03:58 -04:00
Chen 7eb78290c8
Better NPE messages in CollectionUtils with Objects.requireNonNull (#117)
* Deal the null for CollectionUtils

* Deal the null for CollectionUtils

* Deal the null for CollectionUtils

* Deal the NPE with Objects.requireNonNull in the CollectionUtils.java

* Keep it simple.

* Update the Javadoc and keep it simple.
2020-04-09 09:02:30 -04:00
Gary Gregory b2b52ef972 - Update build from checkstyle.version 3.1.0 to 3.1.1.
- Update build from checkstyle.dep.version 8.29 to 8.31.
2020-04-08 09:55:26 -04:00
Gary Gregory e691ad7c23 Fixed the typo and deal the NPE with Objects.requireNonNull #118. 2020-04-07 12:08:20 -04:00
Chen 5819a966c7
Fixed the typo and deal the NPE with Objects.requireNonNull (#118)
* Fixed the typo and deal the NPE with Objects.requireNonNull  in AbstractLinkedList

* Add a space after the comma and  remove the unused  `o1` and `o2`

* Fixtypo

* Keep it simple.
2020-04-07 12:06:44 -04:00
Gary Gregory a6d53a7649 Standardize on American English spelling of 'behavior'. 2020-03-30 10:48:32 -04:00
Gary Gregory cd9789f779 Javadoc. 2020-03-30 09:35:54 -04:00
Gary Gregory 6600586802 Add @SuppressWarnings and Javadoc. 2020-03-30 09:34:23 -04:00
Gary Gregory 9d017c5617 Add @SuppressWarnings. 2020-03-30 09:30:44 -04:00
Gary Gregory 1bdc82ce47 Fix typo. 2020-03-29 17:09:44 -04:00
Gary Gregory 991e24da58 Simplify lambdas. 2020-03-29 16:09:33 -04:00
Bruno P. Kinoshita 45ea11ad15 Merge branch 'pr-120'
This closes #120
2020-03-28 18:14:42 +13:00
Bruno P. Kinoshita 5e140e5c9e [COLLECTIONS-737]: Add changelog 2020-03-28 18:14:22 +13:00
Pengyu Nie 3d8d96c7d2 [COLLECTIONS-737]: Return 0 immeditaly if the given iterable is null in IterableUtils#size. Update tests. 2020-03-28 18:14:22 +13:00
Bruno P. Kinoshita e20e373fe0 Merge branch 'pr-114'
This closes #114
2020-03-28 18:00:01 +13:00
dota17 4a662289d3 Modified the error in javadoc of BulkTest 2020-03-28 17:57:57 +13:00
Gary Gregory 0a9dccb7bc Format. 2020-03-27 14:08:14 -04:00
Gary Gregory f9fb07955d Update tests from Apache Commons Lang 3.9 to 3.10. 2020-03-27 14:01:45 -04:00
Alex Herbert a02a0e6993
Merge pull request #143 from dota17/fixtypoForBloomfilter
Fix typos for the Bloom filter components
2020-03-25 12:34:56 +00:00
dota17 092959ddcb Fixtypo for the bloomFilter 2020-03-25 19:26:58 +08:00
Alex Herbert fbc3c06d78
Merge pull request #142 from dota17/FixedMurmur128x64Cyclic
Bloom filter updates.

Fixed Murmur128x64Cyclic.

Added test for DynamicHasher NoValuesIterator.
2020-03-19 10:31:00 +00:00
dota17 e70a21d7cd Import the fail 2020-03-19 14:35:35 +08:00
dota17 514c2eddfc add a testcase for DynamicHasher.NoValuesIterator.nextInt() 2020-03-19 11:33:44 +08:00
dota17 a7973b8d30 Fixed Murmur128x64Cyclic 2020-03-19 11:04:48 +08:00
Alex Herbert 39aef59785 Optimise DynamicHasher iterator. 2020-03-18 11:18:40 +00:00
Alex Herbert bbee9fbd9b Update Hasher.Builder.
Add default methods to add a CharSequenece.

Make it clear each object added to the Builder should represent an
entire item.

Document that build() should reset the builder for future use.
2020-03-18 10:49:15 +00:00
Alex Herbert a34da7bcf5 DefaultBloomFilterMethodsTest: Correct javadoc for internal test class 2020-03-18 09:24:55 +00:00