Commit Graph

3159 Commits

Author SHA1 Message Date
Gary Gregory f1e2c878b8 [COLLECTIONS-833] Intermittent failure in EmptyPropertiesTest
Ignore second line of properties files since contain a timestamp, which
is a problem when the time ticks to the next second within some tests
2022-08-24 08:01:43 -04:00
aherbert 6ba199c691 Removed obsolete file 2022-08-23 11:31:25 +01:00
aherbert bf836c8df0 Test code cleanup
Use static

Remove incorrect javadoc tags

Add javadoc to return tag
2022-08-23 11:30:17 +01:00
Claude Warren, Jr 5a31023eae COLLECTIONS-831: Add BloomFilter clear() method 2022-08-23 11:27:24 +01:00
Gary Gregory fe783da49f Bump actions/cache from 3.0.7 to 3.0.8 2022-08-22 15:19:48 -04:00
Claude Warren 9999261d27
Collections-818: convert to characteristics flag (#329) 2022-08-16 09:54:33 +01:00
Gary Gregory 032e0eade0 Bump actions/cache from 3.0.6 to 3.0.7 2022-08-12 07:12:03 -04:00
Claude Warren 2af77aaa6b
Collections 827: Add tests using or, and and xor with different length filters. (#328)
* added missing tests
* simplified test framework
2022-08-10 10:27:24 +01:00
Claude Warren df091173cd
Collections-824: Optimize SimpleHasher.forEachIndex and SimpleHasher name change (#320)
* Renamed simple hasher as EnhancedDoubleHasher

* Added test for number of bits < number of hash functions

* Added IncrementingHasher for testing and updated tests

* Added test for number of bits < number of hash functions

* Fixed uniqueIndices implementation

Added default implementation.
Added test for unique filter working.
2022-08-08 08:44:37 +01:00
dependabot[bot] a43e0245ba Bump commons.pmd-impl.version from 6.47.0 to 6.48.0
Bumps `commons.pmd-impl.version` from 6.47.0 to 6.48.0.

Updates `pmd-core` from 6.47.0 to 6.48.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Changelog](https://github.com/pmd/pmd/blob/master/docs/render_release_notes.rb)
- [Commits](https://github.com/pmd/pmd/compare/pmd_releases/6.47.0...pmd_releases/6.48.0)

Updates `pmd-java` from 6.47.0 to 6.48.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Changelog](https://github.com/pmd/pmd/blob/master/docs/render_release_notes.rb)
- [Commits](https://github.com/pmd/pmd/compare/pmd_releases/6.47.0...pmd_releases/6.48.0)

Updates `pmd-javascript` from 6.47.0 to 6.48.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Changelog](https://github.com/pmd/pmd/blob/master/docs/render_release_notes.rb)
- [Commits](https://github.com/pmd/pmd/compare/pmd_releases/6.47.0...pmd_releases/6.48.0)

Updates `pmd-jsp` from 6.47.0 to 6.48.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Changelog](https://github.com/pmd/pmd/blob/master/docs/render_release_notes.rb)
- [Commits](https://github.com/pmd/pmd/compare/pmd_releases/6.47.0...pmd_releases/6.48.0)

---
updated-dependencies:
- dependency-name: net.sourceforge.pmd:pmd-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: net.sourceforge.pmd:pmd-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: net.sourceforge.pmd:pmd-javascript
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: net.sourceforge.pmd:pmd-jsp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-06 10:06:09 +12:00
Gary Gregory b12db43052 Bump actions/cache from 3.0.5 to 3.0.6 2022-08-05 08:30:24 -04:00
Gary Gregory 0987f105e9
Bump commons.junit.version from 5.8.2 to 5.9.0 #324 2022-07-29 08:20:45 -04:00
Claude Warren ebc66db426
Merge pull request #315 from Claudenw/remove_merge_in_place
replaced merge with old mergeInPlace
2022-07-28 12:17:28 +01:00
Gary Gregory ef728ec96b Bump actions/cache 3.0.4 to 3.0.5 2022-07-15 08:32:27 -04:00
Gary Gregory 29d79003ea Use for-each loop 2022-07-09 10:09:02 -04:00
Claude Warren c811f541aa
Merge pull request #317 from Claudenw/fix_collections_821
moved IndexFilter to its own file.
2022-07-06 16:52:06 +01:00
Claude Warren 57b5be9cce removed unused imports 2022-07-06 11:34:46 +01:00
Claude Warren 711ea22488 Made IndexFilter.create() return an IntPredicate 2022-07-06 11:30:32 +01:00
Claude Warren fcbcb2e746
COLLECTIONS-823: Modified ArrayCountingBloomFilter.forEachBitMap to be more efficient (#316)
* Modified forEachBitMap
* made blocksm1 final and initialized with counts.length
2022-07-05 13:36:02 +01:00
Gary Gregory 20b0357048 Add missing namespace and XSD to SpotBugs filter file. 2022-07-04 14:17:40 -04:00
Gary Gregory 224e51d51f Add missing namespace and XSD to SpotBugs filter file. 2022-07-04 14:12:56 -04:00
dependabot[bot] ea539b2d05 Bump commons.pmd-impl.version from 6.46.0 to 6.47.0
Bumps `commons.pmd-impl.version` from 6.46.0 to 6.47.0.

Updates `pmd-core` from 6.46.0 to 6.47.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Changelog](https://github.com/pmd/pmd/blob/master/docs/render_release_notes.rb)
- [Commits](https://github.com/pmd/pmd/compare/pmd_releases/6.46.0...pmd_releases/6.47.0)

Updates `pmd-java` from 6.46.0 to 6.47.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Changelog](https://github.com/pmd/pmd/blob/master/docs/render_release_notes.rb)
- [Commits](https://github.com/pmd/pmd/compare/pmd_releases/6.46.0...pmd_releases/6.47.0)

Updates `pmd-javascript` from 6.46.0 to 6.47.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Changelog](https://github.com/pmd/pmd/blob/master/docs/render_release_notes.rb)
- [Commits](https://github.com/pmd/pmd/compare/pmd_releases/6.46.0...pmd_releases/6.47.0)

Updates `pmd-jsp` from 6.46.0 to 6.47.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Changelog](https://github.com/pmd/pmd/blob/master/docs/render_release_notes.rb)
- [Commits](https://github.com/pmd/pmd/compare/pmd_releases/6.46.0...pmd_releases/6.47.0)

---
updated-dependencies:
- dependency-name: net.sourceforge.pmd:pmd-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: net.sourceforge.pmd:pmd-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: net.sourceforge.pmd:pmd-javascript
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: net.sourceforge.pmd:pmd-jsp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-02 10:28:23 +12:00
Claude Warren a89f3ec293 removed bad import 2022-06-29 13:23:03 +01:00
Claude Warren 5390be21e5 fixed checkstyle issues 2022-06-29 12:48:19 +01:00
Claude Warren 750b8797bf added missing license 2022-06-29 12:44:30 +01:00
Claude Warren 788120b249 put IndexFilter in separate file.
put BitMapTracker and ArrayTracker back as enclosed classes in
IndexFilter
2022-06-29 12:41:52 +01:00
Claude Warren 8bad223f22 Added new lines at end of files 2022-06-29 10:07:12 +01:00
Claude Warren d83704ab30 moved ArrayTracker and BitMapTracker to their own files. 2022-06-29 09:54:17 +01:00
Claude Warren c104fd4924 removed files added in error 2022-06-28 08:55:54 +01:00
Claude Warren a79ea005b1
Move counting long predicate (#314)
* Moved CounitngLongPredicate

* Moved CounitngLongPredicate

* fixed checkstyle issues

* made instance vars private
2022-06-25 11:25:44 -04:00
Claude Warren 8246b4e6fa replaced merge with old mergeInPlace
removed mergeInPlace
2022-06-24 16:28:09 +01:00
Claude Warren 87647d0812
Simplify bloom filters (#258)
* Fixed some unit tests

* First set with complete test cases.

* Cleaned up hasher collecton processing

* cleaned up code

* added license headers

* Refactored and cleaned up

Moved to dependency on BitMapProducer, IndexProducer and
BitCountProducer to retrieve internal representations of the data.

* Added license header.

* Updated documentation

* Fixed bug and added tests

* Added "@since 4.5" where necessary

* Added BitMapProducer constructor to SimpleBloomFilter

* added BitMapProducer.fromLongArray() and Hasher.isEmpty()

* Changes to speed up Simple filter processing

* Null hasher used when a hasher is required but no values are available.

* Added Hasher.Filter and Hasher.FilteredIntConsumer

* Updated documentation + formatted.

* Added license

* fixed checkstyle issues

* fixed javadoc issues

* fixed test issue

* fixed javadoc issues

* Reduced the acceptable delta for p tests

* Updated docs and test cases

* Updated docs and test cases

* fixed issue with Shape javadoc

* Added more test coverage.

* fixed formatting issues

* Updated tests to use assertThrows.

* fixed indents

* Added constructor with IndexProducer

* Fixed issue with compare and different length bitMap arrays

* fixed formatting issues

* Efficiency changes

cleaned up asIndexArray

BitMapProducer to IndexProducer conversion

* changed XProviers to use XPredicates

* Removed NoMatchException

* Removed unneeded BitMap funcs

Moves isSparse() to Shape.

* fixed checkstyle issues

* Fixed javadoc errors

* simplified parameter in BitMapProducer.fromIndexProducer

* fixed tests

* added BitMapping verification

* Added more tests

* Added more tests

* Fixed typos

* Changes requested  by aherbert

* fixed "bit map" in documentation

* Renamed tests

* Removed blank lines

* changed new X<foo> to new X<>

* updated documentation

* Added BloomFilter.copy()

* changed ArrayCountingBloomFilter to use copy() method

* cleaned up numberOfBitsMaps()

* added asBitMapArray() and makePredicate() to BitMapProducer

* Moved asIndexArray() to IndexProducer

* harmonized Simple and Sparse Bloom filter constructors

* Implemented AbstractCountingBloomFilter.asindexArray()

* updated documentation

* fixed up NullHasher

* implemented hasher filter

* Fixed style issues

* added default SimpleHasher increment.

* Added modulus calculation to SimpleHasher

* fixed Hashing issues

* moved hasher/filter/* to /hasher

* moved bloomfilter/hasher to bloomfilter

* fixed up checkstyle issues

* Made Filter -> IndexFilter -w- factory

* moved IndexFilter into Hasher

* updated hashing tests & fixed checksyle

* removed SingleItemhasherCollection as associated methods

* Fixed some unit tests

* First set with complete test cases.

* Cleaned up hasher collecton processing

* cleaned up code

* added license headers

* Refactored and cleaned up

Moved to dependency on BitMapProducer, IndexProducer and
BitCountProducer to retrieve internal representations of the data.

* Added license header.

* Updated documentation

* Fixed bug and added tests

* Added "@since 4.5" where necessary

* Added BitMapProducer constructor to SimpleBloomFilter

* added BitMapProducer.fromLongArray() and Hasher.isEmpty()

* Changes to speed up Simple filter processing

* Null hasher used when a hasher is required but no values are available.

* Added Hasher.Filter and Hasher.FilteredIntConsumer

* Updated documentation + formatted.

* Added license

* fixed checkstyle issues

* fixed javadoc issues

* fixed test issue

* fixed javadoc issues

* Reduced the acceptable delta for p tests

* Updated docs and test cases

* Updated docs and test cases

* fixed issue with Shape javadoc

* Added more test coverage.

* fixed formatting issues

* Updated tests to use assertThrows.

* fixed indents

* Added constructor with IndexProducer

* Fixed issue with compare and different length bitMap arrays

* fixed formatting issues

* Efficiency changes

cleaned up asIndexArray

BitMapProducer to IndexProducer conversion

* changed XProviers to use XPredicates

* Removed NoMatchException

* Removed unneeded BitMap funcs

Moves isSparse() to Shape.

* fixed checkstyle issues

* Fixed javadoc errors

* simplified parameter in BitMapProducer.fromIndexProducer

* fixed tests

* added BitMapping verification

* Added more tests

* Added more tests

* Fixed typos

* Changes requested  by aherbert

* fixed "bit map" in documentation

* Renamed tests

* Removed blank lines

* changed new X<foo> to new X<>

* updated documentation

* Added BloomFilter.copy()

* changed ArrayCountingBloomFilter to use copy() method

* cleaned up numberOfBitsMaps()

* added asBitMapArray() and makePredicate() to BitMapProducer

* Moved asIndexArray() to IndexProducer

* harmonized Simple and Sparse Bloom filter constructors

* Implemented AbstractCountingBloomFilter.asindexArray()

* updated documentation

* fixed up NullHasher

* implemented hasher filter

* Fixed style issues

* added default SimpleHasher increment.

* Added modulus calculation to SimpleHasher

* fixed Hashing issues

* moved hasher/filter/* to /hasher

* moved bloomfilter/hasher to bloomfilter

* fixed up checkstyle issues

* Made Filter -> IndexFilter -w- factory

* moved IndexFilter into Hasher

* updated hashing tests & fixed checksyle

* removed SingleItemhasherCollection as associated methods

* fixed javadoc issues

* fixed javadoc issues

* added checks for BitMapProducer limits and index limits

* updated tests

* added tests

* fixed checkstyle issues

* fixed formatting and test coverage

* fixed javadoc issue

* put back checkstyle.xml

* switched to forEachBitMapPair

* updated BitMap and Index array production

* fixed merge with BitMapProducer

* Cleaned up formatting

* fixed checkstyle issues

* fixed coding issues

* updated documentation

* simplified test

* removed unwanted merge files

* removed duplicate entry

* put back test that incorrectly removed

* fixed asIndexArray error

* fixed checkstyle errors

* Changes for last review
2022-06-15 13:24:22 -04:00
Gary Gregory 1e6ccae884 Fix and update site build (except jdepend/site broken compatibility) 2022-06-13 08:58:58 -04:00
dependabot[bot] e0f75108f2 Bump maven-pmd-plugin from 3.16.0 to 3.17.0
Bumps [maven-pmd-plugin](https://github.com/apache/maven-pmd-plugin) from 3.16.0 to 3.17.0.
- [Release notes](https://github.com/apache/maven-pmd-plugin/releases)
- [Commits](https://github.com/apache/maven-pmd-plugin/compare/maven-pmd-plugin-3.16.0...maven-pmd-plugin-3.17.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-pmd-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-11 10:47:57 +12:00
Gary Gregory 45b7ba3825 Bump actions/cache from 3.0.3 to 3.0.4 2022-06-07 13:52:42 -04:00
Bruno P. Kinoshita 06f7b6fbb4
[COLLECTIONS-811] Integrate Guava Testlib tests for Apache Commons Collections (#301)
* [COLLECTIONS-811] Integrate Guava Testlib tests for Apache Commons Collections

* [COLLECTIONS-811] Add tests for Lists too, thanks to @ben-manes
2022-06-06 17:14:43 -04:00
Gary Gregory 528699431c Replace JUnit 3/4 @Ignore with JUnit 5 @Disabled 2022-06-06 10:37:39 -04:00
Gary Gregory 5e9b391ce2 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-collections.git 2022-06-06 10:22:43 -04:00
Gary Gregory b279e28dd6 Remove unused test code 2022-06-06 10:22:34 -04:00
Gary Gregory c94947493c
Use java.lang.Objects#equals; eliminate a couple of nulls #307 2022-06-06 10:09:53 -04:00
Steve Bosman e85e26e7bb
When possible use java.lang.Objects#equals; eliminated a couple of nulls (#307) 2022-06-06 10:06:12 -04:00
Gary Gregory 4ae79d210f Bump actions/cache from 3.0.2 to 3.0.3 2022-05-31 16:29:03 -04:00
Gary Gregory 1e0646ee8d Remove noisy inline comments. 2022-05-31 15:56:42 -04:00
Bruno P. Kinoshita 1677daceab [COLLECTIONS-812] Open both streams with try-with-resources, and assert that only the text is the same, not the time 2022-05-01 12:07:10 +12:00
Bruno P. Kinoshita 51813d040c [COLLECTIONS-807] add @samabcde contribution to the issue changelog 2022-04-30 10:31:38 +12:00
samabcde 369ae6b7d0 [COLLECTIONS-807] fix one place not updated 2022-04-30 00:00:05 +08:00
Gary Gregory 3d88221be0
Bump maven-antrun-plugin from 3.0.0 to 3.1.0 #303 2022-04-29 10:28:21 -04:00
Gary Gregory 5c86028948
Bump github/codeql-action from 1 to 2 #302 2022-04-29 10:26:44 -04:00
Bruno P. Kinoshita a1f7a125ea [COLLECTION-802] Add changelog 2022-04-28 22:38:17 +12:00
samabcde 43e23dd658 [COLLECTIONS-802] Fix remove failed by removing set null to currentKey and currentValue. 2022-04-25 00:23:02 +08:00
Gary Gregory 9df6f64b7e Bump japicmp from 0.15.4 to 0.15.7 2022-04-21 17:16:06 -04:00
Gary Gregory 56f7d9f6b0 Bump Jacoco from 0.8.7 to 0.8.8 2022-04-21 17:14:13 -04:00
Gary Gregory 81e41da39d [COLLECTIONS-807] Upgraded org.junit.Test to
org.junit.jupiter.api.Test #295.
2022-04-21 17:08:02 -04:00
Pradeesh Kumar 3aad6efa37
COLLECTIONS-807: Upgraded org.junit.Test to org.junit.jupiter.api.Test (#295)
* COLLECTIONS-807 - Upgraded org.junit.Test to org.junit.jupiter.api.Test

* COLLECTIONS-807 - Upgraded org.junit.Test to org.junit.jupiter.api.Test: EmptyPropertiesTest.testSave test fail bug fix

Co-authored-by: Pradeesh Kumar <pradeesh.kumar@deliveryhero.com>
2022-04-21 17:06:19 -04:00
dependabot[bot] fd3bcf3b30 Bump commons-parent from 52 to 53
Bumps commons-parent from 52 to 53.

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-parent
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-16 13:09:50 +12:00
dependabot[bot] 5827d6a427 Bump actions/setup-java from 2 to 3
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2 to 3.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-16 12:57:15 +12:00
Gary Gregory af2f6ddd98 Bump actions/setup-java from 2 to 3 2022-04-15 06:55:07 -04:00
Gary Gregory d8e5038876 Bump actions/cache from 3 to 3.0.2 2022-04-12 08:05:35 -04:00
dependabot[bot] 1b30597c2d Bump codecov/codecov-action from 2 to 3
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-09 09:50:42 +12:00
Sebb 72eaf4db22 git-wip-us => gitbox 2022-04-05 11:36:38 +01:00
Gary Gregory 4a473e6120
Bump actions/cache from 2.1.7 to 3 #294 2022-03-25 07:56:16 -07:00
John Patrick b4edfcc866
[COLLECTIONS-810] Change JUnit v3 to JUnitv4 Annotations (#292) 2022-03-18 08:55:20 -04:00
John Patrick f55268b092
[COLLECTIONS-809] JUnit v5 assertThrows (#291)
Refactor PredicatedMapTest

Refactor UnmodifiableSortedSetTest

Refactor PredicatedSortedSetTest

Refactor PredicatedSetTest

Refactor PredicatedNavigableSetTest

Refactor ListOrderedSetTest

Refactor PredicatedSortedMapTest

Refactor ReferenceIdentityMapTest

Refactor ReferenceMapTest

Refactor TransformedSortedMapTest

Refactor PredicatedMapTest

Refactor UnmodifiableSortedSetTest

Refactor PredicatedSortedSetTest

Refactor PredicatedSetTest

Refactor PredicatedNavigableSetTest

Refactor ListOrderedSetTest

Refactor PredicatedSortedMapTest

Refactor ReferenceIdentityMapTest

Refactor ReferenceMapTest

Refactor TransformedSortedMapTest

Refactor UnmodifiableMultiValuedMapTest

Refactor PredicatedMultiSetTest

Refactor UnmodifiableMultiSetTest

Refactor CircularFifoQueueTest

Refactor UnmodifiableQueueTest

Refactor CompositeSetTest

Refactor AbstractQueueTest

Refactor AbstractMultiSetTest

Refactor AbstractMultiValuedMapTest

Refactor AbstractBidiMapTest

Refactor AbstractBloomFilterTest

Refactor AbstractIteratorTest

Refactor AbstractLinkedListTest

Refactor AbstractListTest

Refactor AbstractSortedMapTest

Refactor AbstractOrderedMapTest

Refactor AbstractIterableMapTest

Refactor AbstractMapTest

Refactor AbstractMapIteratorTest

Refactor AbstractListIteratorTest

Refactor AbstractCollectionTest
2022-03-16 15:19:09 -04:00
Gary Gregory eab0aa0b09 [COLLECTIONS-777] Fully migrate to JUnit 5. 2022-03-06 17:24:13 -05:00
Gary Gregory 7fe2f39a10 Add missing Javadeoc tags. 2022-03-06 17:19:13 -05:00
Gary Gregory 99bb546524 Remove extra whitespace. 2022-03-06 17:17:39 -05:00
John Patrick 93510caf35
COLLECTIONS-777 JUnit v5 (#287)
* COLLECTIONS-777 JUnit v5

JUnit v5 assertThrows BagUtilsTest

JUnit v5 assertThrows ClosureUtilsTest

JUnit v5 assertThrows FluentIterableTest

JUnit v5 assertThrows IterableUtilsTest

JUnit v5 assertThrows ListUtilsTest

JUnit v5 assertThrows MapUtilsTest

JUnit v5 assertThrows SetUtilsTest

JUnit v5 assertThrows GrowthListTest

JUnit v5 assertThrows BoundedIteratorTest

JUnit v5 assertThrows CollectionUtilsTest

JUnit v5 assertThrows IteratorUtilsTest

JUnit v5 assertThrows AbstractLinkedListTest

JUnit v5 assertThrows SplitMapUtilsTest

JUnit v5 assertThrows ShapeTest

JUnit v5 assertThrows StaticHasherTest

JUnit v5 assertThrows ArrayIterator2Test

JUnit v5 assertThrows IteratorChainTest

JUnit v5 assertThrows LazyIteratorChainTest

JUnit v5 assertThrows ListIteratorWrapperTest

JUnit v5 assertThrows LoopingIteratorTest

JUnit v5 assertThrows LoopingListIteratorTest

JUnit v5 assertThrows ReverseListIteratorTest

JUnit v5 assertThrows SkippingIteratorTest

JUnit v5 assertThrows CursorableLinkedListTest

JUnit v5 assertThrows FixedSizeListTest

JUnit v5 assertThrows PredicatedListTest

JUnit v5 assertThrows ObjectGraphIteratorTest

JUnit v5 assertThrows UnmodifiableListTest

JUnit v5 assertThrows DefaultedMapTest

JUnit v5 assertThrows LazySortedMapTest

JUnit v5 assertThrows ListOrderedMapTest

JUnit v5 assertThrows LRUMapTest

JUnit v5 assertThrows MultiKeyMapTest

JUnit v5 assertThrows PassiveExpiringMapTest

* EmptyPropertiesTest Debug

(cherry picked from commit 3bb1225e762ff5befd17d53dc99b7371d71b1ff0)
2022-03-06 17:13:38 -05:00
Gary Gregory f93c7d5976 [COLLECTIONS-788] Use Java 8 and method reference. #274. 2022-03-04 09:08:29 -05:00
Arturo Bernal 35a6778db8
COLLECTIONS-788 - java8 improvements: (#228)
* Replace Collections.sort() with List.sort()
* Replace lambda with method reference
* Replace Loop with Collection.removeIf()
* Use lambda

Co-authored-by: Gary Gregory <garydgregory@users.noreply.github.com>
2022-03-04 09:07:07 -05:00
Gary Gregory dd69e59fcd Use Java 8 and method reference. #274 2022-03-04 09:04:56 -05:00
Arturo Bernal e30b4d3700
Use java 8 and method reference. (#274) 2022-03-04 08:58:30 -05:00
Gary Gregory 2431972cc0 Simple syntax for array creation. 2022-03-04 08:58:14 -05:00
Gary Gregory 5588a9bdee Clean up tests.
- Simple syntax for array creation.
- Use better Collection APIs.
- Make test fixture a static class.
- Use number cache when possible.
2022-03-04 08:56:42 -05:00
Gary Gregory 505722c303 Use final. 2022-03-04 08:49:14 -05:00
John Patrick 2a2a534c02
COLLECTIONS-777 JUnit v5 (#284)
JUnit v5 assertThrows TransformerUtilsTest

JUnit v5 assertThrows DynamicHasherBuilderTest

JUnit v5 assertThrows DynamicHasherTest

JUnit v5 assertThrows IndexFilterTest

JUnit v5 assertThrows BooleanComparatorTest

JUnit v5 assertThrows FixedOrderComparatorTest

JUnit v5 assertThrows ComparatorUtilsTest

JUnit v5 assertThrows FactoryUtilsTest

JUnit v5 assertThrows MultiSetUtilsTest

JUnit v5 assertThrows QueueUtilsTest
2022-03-04 08:44:25 -05:00
John Patrick 4d06b47d55
COLLECTIONS-777 JUnit v5 (#283)
JUnit v5 assertThrows PredicatedBagTest

JUnit v5 assertThrows PredicatedSortedBagTest

JUnit v5 assertThrows TreeBagTest

JUnit v5 assertThrows AbstractBagTest

JUnit v5 assertThrows AbstractBidiMapTest

JUnit v5 assertThrows AbstractOrderedBidiMapTest

JUnit v5 assertThrows PredicateUtilsTest

JUnit v5 assertThrows MultiMapUtilsTest

JUnit v5 assertThrows EnumerationUtilsTest

JUnit v5 assertThrows ArrayStackTest
2022-03-04 08:42:38 -05:00
John Patrick e113297085
COLLECTIONS-777 JUnit v5 (#282)
JUnit v5 assertThrows SetOperationsTest

JUnit v5 assertThrows CompositeCollectionTest

JUnit v5 assertThrows MultiValueMapTest

JUnit v5 assertThrows UnmodifiableMapTest

JUnit v5 assertThrows UnmodifiableOrderedMapTest

JUnit v5 assertThrows UnmodifiableSortedMapTest

JUnit v5 assertThrows CatchAndRethrowClosureTest

JUnit v5 assertThrows PredicatedCollectionTest

JUnit v5 assertThrows ComparatorChainTest

JUnit v5 assertThrows ArrayListIteratorTest

JUnit v5 assertThrows ListIteratorWrapper2Test

JUnit v5 assertThrows ObjectArrayListIteratorTest

JUnit v5 assertThrows PeekingIteratorTest

JUnit v5 assertThrows DefaultKeyValueTest

JUnit v5 assertThrows MultiKeyTest
2022-03-04 08:40:31 -05:00
John Patrick f4c041ba94
COLLECTIONS-777 JUnit v5 (#281)
JUnit v5 assertThrows for PatriciaTrieTest.java

JUnit v5 assertThrows UnmodifiableBagTest

JUnit v5 assertThrows UnmodifiableSortedBagTest

JUnit v5 assertThrows UnmodifiableBidiMapTest

JUnit v5 assertThrows UnmodifiableOrderedBidiMapTest

JUnit v5 assertThrows UnmodifiableSortedBidiMapTest

JUnit v5 assertThrows TrieUtilsTest

JUnit v5 assertThrows AbstractArrayListTest

JUnit v5 assertThrows UnmodifiableTrieTest

JUnit v5 assertThrows UnmodifiableSetTest

JUnit v5 assertThrows CompositeMapTest

JUnit v5 assertThrows SetUniqueListTest

JUnit v5 assertThrows UnmodifiableMapEntryTest

JUnit v5 assertThrows DefaultMapEntryTest

JUnit v5 assertThrows AbstractMapEntryTest

JUnit v5 assertThrows UnmodifiableOrderedMapIteratorTest

JUnit v5 assertThrows UnmodifiableMapIteratorTest

JUnit v5 assertThrows UnmodifiableIteratorTest

JUnit v5 assertThrows PermutationIteratorTest

JUnit v5 assertThrows ObjectArrayIteratorTest

JUnit v5 assertThrows NodeListIteratorTest

JUnit v5 assertThrows IteratorEnumerationTest

JUnit v5 assertThrows FilterIteratorTest

JUnit v5 assertThrows ArrayIteratorTest

JUnit v5 assertThrows AbstractOrderedMapIteratorTest

JUnit v5 assertThrows UnmodifiableCollectionTest

JUnit v5 assertThrows UnmodifiableBoundedCollectionTest

JUnit v5 assertThrows IndexedCollectionTest
2022-03-04 08:36:21 -05:00
Gary Gregory 5997d80100 Bump actions/checkout from 2 to 3 #285 2022-03-04 08:33:10 -05:00
Gary Gregory 5b003939f6 Bump maven-pmd-plugin from 3.15.0 to 3.16.0 #286 2022-03-04 08:32:06 -05:00
John Patrick 83acfd3cb9
JUnit v5 Imports (#280)
* JUnit v5 Assertions

* JUnit v5 don't wildcard Assertions
2022-03-01 12:59:48 -05:00
Arturo Bernal de46d49f4e Replace explicit type with <>. 2022-02-20 12:00:13 +13:00
Gary Gregory 4c2a9744ae Remove unused import. 2022-02-13 12:24:42 -05:00
Gary Gregory 8ea386b864 Inline Collections.sort(). 2022-02-13 11:25:56 -05:00
Gary Gregory 1151960efa Add singleton ObjectToStringComparator.INSTANCE. 2022-02-13 11:18:30 -05:00
Gary Gregory 6a3dabbee0 Bump checkstyle from 9.2.1 to 9.3 #277 2022-02-04 07:53:51 -05:00
Gary Gregory e465030561 Bump checkstyle from 9.2 to 9.2.1 #271. 2021-12-27 08:41:02 -05:00
dependabot[bot] 3ba6407e22 Bump checkstyle from 9.1 to 9.2
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 9.1 to 9.2.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-9.1...checkstyle-9.2)

---
updated-dependencies:
- dependency-name: com.puppycrawl.tools:checkstyle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-02 09:53:04 +13:00
dependabot[bot] 371313a2e4 Bump commons.junit.version from 5.8.1 to 5.8.2
Bumps `commons.junit.version` from 5.8.1 to 5.8.2.

Updates `junit-jupiter-api` from 5.8.1 to 5.8.2
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.8.1...r5.8.2)

Updates `junit-jupiter-engine` from 5.8.1 to 5.8.2
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.8.1...r5.8.2)

Updates `junit-vintage-engine` from 5.8.1 to 5.8.2
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.8.1...r5.8.2)

---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter-api
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: org.junit.jupiter:junit-jupiter-engine
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: org.junit.vintage:junit-vintage-engine
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-30 10:09:45 +13:00
dependabot[bot] 8873f3801c Bump actions/cache from 2.1.6 to 2.1.7
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.6 to 2.1.7.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.6...v2.1.7)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-24 13:12:28 +13:00
dependabot[bot] 7ab4e4fe99 Bump actions/checkout from 2.3.5 to 2.4.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.5 to 2.4.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.5...v2.4.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-04 13:48:34 +13:00
dependabot[bot] 49d56376eb Bump checkstyle from 9.0.1 to 9.1
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 9.0.1 to 9.1.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-9.0.1...checkstyle-9.1)

---
updated-dependencies:
- dependency-name: com.puppycrawl.tools:checkstyle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-03 16:11:27 +13:00
dependabot[bot] 8a992cd90b Bump actions/checkout from 2.3.4 to 2.3.5
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.4 to 2.3.5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.4...v2.3.5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-19 12:59:47 +13:00
Bruno P. Kinoshita ccc8f421b1 Fix checkstyle, remove unused imports 2021-10-09 21:54:30 +13:00
Bruno P. Kinoshita ff0fabd09c [COLLECTIONS-793] Changelog 2021-10-09 21:49:48 +13:00
Arturo Bernal 71aec3377d [COLLECTIONS-793] Simplify Assertion. 2021-10-09 21:49:48 +13:00
Arturo Bernal 699abc8114 Fix javadoc 2021-10-09 21:42:14 +13:00
Arturo Bernal 01413dc53b Remove unnecessary Casting 2021-10-09 21:41:40 +13:00
Bruno P. Kinoshita e6f72fe910 [COLLECTIONS-799] Changelog 2021-10-09 14:53:13 +13:00
Stefano Cordio cbc5db5540 [COLLECTIONS-799]: Prevent modifications by pollFirst and pollLast 2021-10-09 14:52:20 +13:00
Bruno P. Kinoshita 3fa1f0cee8 [COLLECTIONS-796] changelog 2021-10-09 14:48:32 +13:00
Clemens Kurz ffd2a02d85 [COLLECTIONS-796] SetUniqueList.createSetBasedOnList doesn't add list elements to return value
- Request in Comment: https://issues.apache.org/jira/browse/COLLECTIONS-796?focusedCommentId=17419058&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17419058
- Adressed typo in method name.
- Method is public therefore it must be backwards compatible.
- The method 'umodifiableListIterator' was not removed but annotated with @Deprecated and calls the actual method 'unmodifiableListIterator'.
- Test was simplified, with appropriate assert-method-call
2021-10-09 14:43:29 +13:00
dependabot[bot] 14291172fe Bump checkstyle from 9.0 to 9.0.1
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 9.0 to 9.0.1.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-9.0...checkstyle-9.0.1)

---
updated-dependencies:
- dependency-name: com.puppycrawl.tools:checkstyle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-09 14:39:49 +13:00
dependabot[bot] 23f2d363c5
Bump commons.junit.version from 5.8.0 to 5.8.1 (#254)
Bumps `commons.junit.version` from 5.8.0 to 5.8.1.

Updates `junit-jupiter-api` from 5.8.0 to 5.8.1
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.8.0...r5.8.1)

Updates `junit-jupiter-engine` from 5.8.0 to 5.8.1
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.8.0...r5.8.1)

Updates `junit-vintage-engine` from 5.8.0 to 5.8.1
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.8.0...r5.8.1)

---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter-api
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: org.junit.jupiter:junit-jupiter-engine
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: org.junit.vintage:junit-vintage-engine
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-28 12:36:47 -04:00
Gary Gregory f8115aa301 Better unit test assertion. 2021-09-28 12:32:27 -04:00
Gary Gregory c1f262302c Reimplement SortedProperties#keys() a la Java 8. 2021-09-28 10:44:45 -04:00
Gary Gregory a18086f23b Reimplement SortedProperties#keys() a la Java 8.
Use final.
2021-09-28 10:25:49 -04:00
Gary Gregory 78c4b0f865 Sort test members. 2021-09-28 10:09:49 -04:00
Gary Gregory 3664d88dfa Use final. 2021-09-28 10:09:28 -04:00
Gary Gregory 09839108e1 Remove unused import. 2021-09-28 10:08:59 -04:00
Gary Gregory 1136118b1e SortedProperties should sort entrySet() as well as keys() #256. 2021-09-28 09:11:56 -04:00
Michael Berry 1cba0bcef2
SortedProperties should sort entries in same way as keys (#256) 2021-09-28 09:10:21 -04:00
dependabot[bot] 87a028621f Bump commons.junit.version from 5.7.2 to 5.8.0
Bumps `commons.junit.version` from 5.7.2 to 5.8.0.

Updates `junit-jupiter-api` from 5.7.2 to 5.8.0
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.7.2...r5.8.0)

Updates `junit-jupiter-engine` from 5.7.2 to 5.8.0
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.7.2...r5.8.0)

Updates `junit-vintage-engine` from 5.7.2 to 5.8.0
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.7.2...r5.8.0)

---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter-api
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: org.junit.jupiter:junit-jupiter-engine
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: org.junit.vintage:junit-vintage-engine
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-14 16:46:54 +12:00
dependabot[bot] 1e29723663 Bump maven-pmd-plugin from 3.14.0 to 3.15.0
Bumps [maven-pmd-plugin](https://github.com/apache/maven-pmd-plugin) from 3.14.0 to 3.15.0.
- [Release notes](https://github.com/apache/maven-pmd-plugin/releases)
- [Commits](https://github.com/apache/maven-pmd-plugin/compare/maven-pmd-plugin-3.14.0...maven-pmd-plugin-3.15.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-pmd-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-14 16:19:17 +12:00
dependabot[bot] 115d2b76e8 Bump checkstyle from 8.45.1 to 9.0
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.45.1 to 9.0.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.45.1...checkstyle-9.0)

---
updated-dependencies:
- dependency-name: com.puppycrawl.tools:checkstyle
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-03 09:48:01 +12:00
Gary Gregory 6328258a29 AdoptOpenJDK is moving to the Eclipse Foundation and rebranding as
Eclipse Temurin.
2021-08-29 00:24:12 -04:00
dependabot[bot] 2905b85352 Bump checkstyle from 8.45 to 8.45.1
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.45 to 8.45.1.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.45...checkstyle-8.45.1)

---
updated-dependencies:
- dependency-name: com.puppycrawl.tools:checkstyle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-10 09:23:01 +12:00
Gary Gregory 911814e49c Bump commons.jacoco.version from 0.8.6 to 0.8.7. 2021-08-02 15:56:59 -04:00
Gary Gregory 52b9f8c4c8 Bump checkstyle from 8.44 to 8.45 #245. 2021-08-02 14:33:35 -04:00
Gary Gregory c48cef5d5f Javadoc tweaks. 2021-08-02 14:05:15 -04:00
Gary Gregory bfede0ea47 Add ListUtils.getFirst() and getLast(). 2021-08-02 13:41:20 -04:00
Gary Gregory 09d8151cee Sort by type. 2021-08-02 13:35:55 -04:00
Gary Gregory 90d2a9bcee Sort members. 2021-08-02 13:23:50 -04:00
Gary Gregory fc99d09083 Update tests from commons-io:commons-io 2.10.0 to 2.11.0. 2021-07-13 17:45:14 -04:00
Gary Gregory 0b365e4c18 Remove dead in-line comments. 2021-07-10 09:41:23 -04:00
Gary Gregory 3cbb1dce0b Use final.
Simplify expressions.
2021-07-10 09:39:06 -04:00
dependabot[bot] dd048a4cd0 Bump checkstyle from 8.43 to 8.44
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.43 to 8.44.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.43...checkstyle-8.44)

---
updated-dependencies:
- dependency-name: com.puppycrawl.tools:checkstyle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-29 17:03:15 +12:00
Bruno P. Kinoshita bdfbbcdca2 Merge branch 'pr-240'
This closes #240
2021-06-17 22:25:40 +12:00
dependabot[bot] ee7ab6a24f Bump checkstyle from 8.42 to 8.43
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.42 to 8.43.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.42...checkstyle-8.43)

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-17 22:25:33 +12:00
Gary Gregory 591612e3c1 Update Apache Commons IO from 2.9.0 to 2.10.0. 2021-06-13 12:56:31 -04:00
dependabot[bot] 0e27058997 Bump actions/cache from 2.1.5 to 2.1.6
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.5 to 2.1.6.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.5...v2.1.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-28 18:29:59 +12:00
Gary Gregory 0f54cb2090 Update commons-io 2.8.0 -> 2.9.0. 2021-05-25 21:56:02 -04:00
Bruno P. Kinoshita 73257bdb3b [COLLECTIONS-786] Changelog 2021-05-22 12:27:10 +12:00
Vandrewskis d9fd960179 [COLLECTIONS-786] Fix PassiveExpiringMap documentation 2021-05-22 12:26:19 +12:00
dependabot[bot] e0130c7aea Bump commons.junit.version from 5.7.1 to 5.7.2
Bumps `commons.junit.version` from 5.7.1 to 5.7.2.

Updates `junit-jupiter-api` from 5.7.1 to 5.7.2
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.7.1...r5.7.2)

Updates `junit-jupiter-engine` from 5.7.1 to 5.7.2
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.7.1...r5.7.2)

Updates `junit-vintage-engine` from 5.7.1 to 5.7.2
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.7.1...r5.7.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-17 20:50:48 +12:00
Bruno P. Kinoshita ba755a29ba Add Checkstyle syntax fix to changelog with link to PR (issue is COMMONSSITE-145) 2021-05-10 07:04:26 +12:00
XenoAmess 9d987a3a5d Upgrade Checkstyle syntax (was scope, now it is accessModifiers) fixing CI build. 2021-05-10 07:03:46 +12:00
dependabot[bot] 728e7e5f36 Bump checkstyle from 8.41.1 to 8.42
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.41.1 to 8.42.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.41.1...checkstyle-8.42)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-26 18:05:09 +12:00
dependabot[bot] 9a3d46be11 Bump easymock from 4.2 to 4.3
Bumps [easymock](https://github.com/easymock/easymock) from 4.2 to 4.3.
- [Release notes](https://github.com/easymock/easymock/releases)
- [Changelog](https://github.com/easymock/easymock/blob/master/ReleaseNotes.md)
- [Commits](https://github.com/easymock/easymock/compare/easymock-4.2...easymock-4.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-20 10:18:47 +12:00
dependabot[bot] 675e195fb9 Bump actions/cache from v2.1.4 to v2.1.5
Bumps [actions/cache](https://github.com/actions/cache) from v2.1.4 to v2.1.5.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.4...1a9e2138d905efd099035b49d8b7a3888c653ca8)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-13 18:09:20 +12:00
Bruno P. Kinoshita 6b2df66b77 Update actions/setup-java to v2 2021-04-09 17:52:03 +12:00
dependabot[bot] 3c625dd23f Bump checkstyle from 8.41 to 8.41.1
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.41 to 8.41.1.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.41...checkstyle-8.41.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-30 08:13:01 +13:00
Gary Gregory 26b0f41a09 No need to nest in else. 2021-03-05 13:38:04 -05:00
Bruno P. Kinoshita bd67f9a7b5 [COLLECTIONS-785] Add changelog 2021-03-05 08:41:49 +13:00
Arturo Bernal 331ee240c2 [COLLECTIONS-785] Add constant variable 2021-03-05 08:41:24 +13:00
dependabot[bot] b57f40a25a Bump commons-lang3 from 3.11 to 3.12.0
Bumps commons-lang3 from 3.11 to 3.12.0.

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-03 06:54:52 +13:00
dependabot[bot] aeff8e20bb Bump checkstyle from 8.40 to 8.41
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.40 to 8.41.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.40...checkstyle-8.41)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 20:12:25 +13:00
Gary Gregory ce7496d175 Use varargs. 2021-02-28 13:03:25 -05:00
Gary Gregory 11eb27dfb0 Raise embedded if into parent if. 2021-02-28 12:19:37 -05:00
Gary Gregory 4a845dc8bc Remove use of redundant String.substring() parameter. 2021-02-28 09:46:04 -05:00
Gary Gregory fdd78dc3e5 Remove trailing whitespace. 2021-02-15 09:23:30 -05:00
Gary Gregory 203f3518b8 Add INDEX_NOT_FOUND constant #210. 2021-02-15 09:23:08 -05:00
Arturo Bernal 9414e73a7b
[COLLECTIONS-781] - INDEX_NOT_FOUND Constant (#210)
* COLLECTIONS-781 - INDEX_NOT_FOUND Constant

* Update CollectionUtils.java

Javadoc.

Co-authored-by: Gary Gregory <garydgregory@users.noreply.github.com>
2021-02-15 09:18:31 -05:00
dependabot[bot] 0b39f1a8bb Bump actions/cache from v2 to v2.1.4
Bumps [actions/cache](https://github.com/actions/cache) from v2 to v2.1.4.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...26968a09c0ea4f3e233fdddbafd1166051a095f6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-08 22:20:28 +13:00
dependabot[bot] 52a7e56d02 Bump commons.junit.version from 5.7.0 to 5.7.1
Bumps `commons.junit.version` from 5.7.0 to 5.7.1.

Updates `junit-jupiter-api` from 5.7.0 to 5.7.1
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.7.0...r5.7.1)

Updates `junit-jupiter-engine` from 5.7.0 to 5.7.1
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.7.0...r5.7.1)

Updates `junit-vintage-engine` from 5.7.0 to 5.7.1
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.7.0...r5.7.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-06 11:04:06 +13:00
Gary Gregory 8bd274ae0c [COLLECTIONS-779] Migrate assert to Assertions #209. 2021-02-03 16:43:23 -05:00
Arturo Bernal a82fa15727
COLLECTIONS-779 - Migrate assert to Assertions (#209) 2021-02-03 16:40:22 -05:00
Gary Gregory b43d8a1733 Use the scale in the var name. 2021-02-02 16:16:13 -05:00
dependabot[bot] b1d1e15834 Bump maven-checkstyle-plugin from 3.1.1 to 3.1.2
Bumps [maven-checkstyle-plugin](https://github.com/apache/maven-checkstyle-plugin) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/apache/maven-checkstyle-plugin/releases)
- [Commits](https://github.com/apache/maven-checkstyle-plugin/compare/maven-checkstyle-plugin-3.1.1...maven-checkstyle-plugin-3.1.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-02 00:08:29 +13:00
dependabot[bot] c996e27be1 Bump checkstyle from 8.39 to 8.40
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.39 to 8.40.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.39...checkstyle-8.40)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-02 00:04:27 +13:00
Gary Gregory af2e247545 Remove '_' from private names. 2021-01-29 13:30:48 -05:00
Gary Gregory dc01c2583a Use isEmpty(). 2021-01-16 22:05:15 -05:00
Gary Gregory 23730a0fb8 Use isEmpty(). 2021-01-16 21:48:58 -05:00
Gary Gregory 2b23b7add8 Use isEmpty(). 2021-01-16 20:37:44 -05:00
Gary Gregory 6b0d7c4898 Sort methods. 2021-01-16 20:24:31 -05:00
Gary Gregory 6f9b16da55 Define and reuse constants. 2021-01-16 12:34:09 -05:00
Gary Gregory dac0330c15 Minor Improvements #208. 2021-01-16 12:25:23 -05:00
Arturo Bernal 27bd0dfd13
Minor Improvements: (#208)
* Add final
* Remove Redundant initializer
* fix javadoc
* Array initializer empty
2021-01-16 12:24:36 -05:00
Gary Gregory 563d2fce7d Bump checkstyle from 8.38 to 8.39 #204. 2021-01-16 11:21:32 -05:00
Bruno P. Kinoshita 76811d12ea [COLLECTIONS-780] changelog 2021-01-16 11:00:49 +13:00
Arturo Bernal 230076f1f4 [COLLECTIONS-780] Use assertThrows V2 2021-01-16 11:00:44 +13:00
Bruno P. Kinoshita a5ec5605d7 [COLLECTIONS-778] changelog 2021-01-14 10:44:51 +13:00
Arturo Bernal 4b8b5c7163 [COLLECTIONS-778] Use assertThrows 2021-01-14 10:44:45 +13:00
Gary Gregory 7e392b9093 Fix Checkstyle suppressions DTD link. 2021-01-11 12:16:15 -05:00
Gary Gregory a9777b53f0 Fix Checkstyle suppressions DTD link. 2021-01-11 12:12:29 -05:00
Gary Gregory c99634621b Fix Checkstyle configuration DTD link. 2021-01-11 12:07:57 -05:00
Gary Gregory a803af8de6 Collapse multiple identical catch clauses into one. 2021-01-08 09:27:03 -05:00
Gary Gregory e21ed0b99b Use caches. 2020-12-31 12:10:41 -05:00
Gary Gregory 473bb29aea Use Character cache. 2020-12-31 12:08:18 -05:00
Gary Gregory 67224814f6 Fix typo erroring -> erring #202. 2020-12-28 10:33:49 -05:00
石头 8f1983c982
fix typo erroring -> erring (#202) 2020-12-28 10:32:41 -05:00
Gary Gregory 5a0b58139d Minor Improvements #203. 2020-12-28 10:31:11 -05:00
Arturo Bernal 2e492e94a5
Minor Improvement: (#203)
* Add final
* Unnecessary semicolon ';'
2020-12-28 10:29:07 -05:00
Gary Gregory 3972e83317 Fix Checkstyle. 2020-12-05 10:53:56 -05:00
Gary Gregory d18eb37fc2 [COLLECTIONS-775] CollectionUtilsTest.getFromMap() is flaky. 2020-12-05 10:28:30 -05:00
Gary Gregory 1826012c2a Sort members. 2020-12-05 10:24:54 -05:00
Gary Gregory 69f06d60f6 Break up test getFromMap() by map type. 2020-12-05 10:23:45 -05:00
Xin Tong 2f18447ed5
Fix flaky CollectionUtilsTest.getFromMap() (#200) 2020-12-05 10:17:05 -05:00
dependabot[bot] 6fb0b1ca56 Bump checkstyle from 8.37 to 8.38
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.37 to 8.38.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.37...checkstyle-8.38)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-30 22:25:58 +13:00
Gary Gregory f717078a2c [COLLECTIONS-772] - Add private constructor to ArrayUtils; better
Javadocs. #195
2020-11-27 14:48:07 -05:00
Arturo Bernal d2e567562f
COLLECTIONS-772 - Provide private constructor to the Utils Collections (#195) 2020-11-27 14:44:11 -05:00
Gary Gregory d9f86645d9 [COLLECTIONS-773] Add an assertion to validate ensureCapacity #198. 2020-11-27 14:39:45 -05:00
Martin Monperrus 36b9fa53d2
fix: fix COLLECTIONS-773 by adding an assertion for specifying ensureCapacity (#198) 2020-11-27 14:37:59 -05:00
Gary Gregory a8972d5bcd xref with Jira. 2020-11-27 14:36:07 -05:00
Gary Gregory 283b1ba587 Bump maven-antrun-plugin from 1.8 to 3.0.0 #170. 2020-11-27 14:32:44 -05:00
Gary Gregory 1c7ffa63fa Sort members. 2020-11-26 10:17:07 -05:00
Gary Gregory 743af0bb1f Remove dead comments. 2020-11-26 10:16:56 -05:00
Gary Gregory ad99cf8c17 Remove dead comments. 2020-11-26 10:15:56 -05:00
Gary Gregory 7c4a4994cb Sort members. 2020-11-26 10:15:07 -05:00
dependabot[bot] 8d4fa45a38 Bump maven-pmd-plugin from 3.13.0 to 3.14.0
Bumps [maven-pmd-plugin](https://github.com/apache/maven-pmd-plugin) from 3.13.0 to 3.14.0.
- [Release notes](https://github.com/apache/maven-pmd-plugin/releases)
- [Commits](https://github.com/apache/maven-pmd-plugin/compare/maven-pmd-plugin-3.13.0...maven-pmd-plugin-3.14.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-24 20:26:18 +13:00