Commit Graph

255 Commits

Author SHA1 Message Date
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
Gary Gregory 0f54cb2090 Update commons-io 2.8.0 -> 2.9.0. 2021-05-25 21:56:02 -04: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
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
Sebb f8d9cee723 RAT exclude .asf.yaml 2021-04-03 00:35:41 +01: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
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
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
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
dependabot[bot] be2e330dc2
Bump checkstyle from 8.38 to 8.39 (#204)
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.38 to 8.39.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.38...checkstyle-8.39)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-16 11:14:35 -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
dependabot[bot] ba85c69b53
Bump maven-antrun-plugin from 1.8 to 3.0.0 (#170)
Bumps [maven-antrun-plugin](https://github.com/apache/maven-antrun-plugin) from 1.8 to 3.0.0.
- [Release notes](https://github.com/apache/maven-antrun-plugin/releases)
- [Commits](https://github.com/apache/maven-antrun-plugin/compare/maven-antrun-plugin-1.8...maven-antrun-plugin-3.0.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-27 14:30:43 -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
dependabot[bot] 35c8d1647b
Bump commons.junit.version from 5.6.2 to 5.7.0 (#181)
Bumps `commons.junit.version` from 5.6.2 to 5.7.0.

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

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

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-15 18:08:58 -05:00
dependabot[bot] 8a1f3ee315 Bump checkstyle from 8.36.2 to 8.37
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.36.2 to 8.37.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.36.2...checkstyle-8.37)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-02 20:19:52 +13:00
dependabot[bot] 8c3c818b1c
Bump checkstyle from 8.36 to 8.36.2
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.36 to 8.36.2.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.36...checkstyle-8.36.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-28 06:31:08 +00:00
Gary Gregory e447a928da Update commons.jacoco.version 0.8.5 to 0.8.6 (Fixes Java 15 builds). 2020-09-19 16:04:05 -04:00
dependabot[bot] 72c92a88b2
Bump commons-io from 2.7 to 2.8.0
Bumps commons-io from 2.7 to 2.8.0.

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-10 05:22:21 +00:00
Gary Gregory c85424725e Update commons-codec from 1.14 to 1.15. 2020-09-01 13:31:54 -04:00
dependabot[bot] 5b298f0d14
Bump checkstyle from 8.35 to 8.36
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.35 to 8.36.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.35...checkstyle-8.36)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-31 05:51:36 +00:00
dependabot[bot] 65562f5c02
Bump commons-parent from 51 to 52 (#172)
Bumps commons-parent from 51 to 52.

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-05 10:53:50 -04:00
dependabot[bot] 1ca39ebee5
Bump checkstyle from 8.32 to 8.35
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.32 to 8.35.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.32...checkstyle-8.35)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-27 05:58:24 +00:00
dependabot[bot] c3e6925cf9
Bump maven-pmd-plugin from 3.12.0 to 3.13.0 (#167)
Bumps [maven-pmd-plugin](https://github.com/apache/maven-pmd-plugin) from 3.12.0 to 3.13.0.
- [Release notes](https://github.com/apache/maven-pmd-plugin/releases)
- [Commits](https://github.com/apache/maven-pmd-plugin/compare/maven-pmd-plugin-3.12.0...maven-pmd-plugin-3.13.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-23 15:17:44 -04:00
dependabot[bot] 7b187c62e6
Bump commons-parent from 50 to 51 (#168)
Bumps commons-parent from 50 to 51.

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-23 15:15:55 -04:00
Gary Gregory 1b2690e280 Update tests from Apache Commons Lang 3.10 to 3.11. 2020-07-16 12:36:15 -04:00
Gary Gregory b682afed87 Update tests from commons-io:commons-io 2.6 to 2.7. 2020-05-28 07:58:48 -04:00
Gary Gregory a9dd82f83e Move test fixtures to component specific folder. 2020-05-21 11:37:07 -04:00
Gary Gregory a3eb3be4b0 Update build from checkstyle.dep.version 8.31 to 8.32. 2020-04-28 10:07:58 -04:00
Gary Gregory 4850319877 Upgrade JUnit from 5.6.0 to 5.6.2. 2020-04-28 09:47:30 -04:00
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
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
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 f9fb07955d Update tests from Apache Commons Lang 3.9 to 3.10. 2020-03-27 14:01:45 -04:00
Alex Herbert 9bc4d0bc61 Fixed checkstyle in tests.
Changed rules to be more lenient on tests.
2020-02-18 23:25:52 +00:00
Alex Herbert de46979712 Add checkstyle:check to defaultGoal 2020-02-18 23:07:37 +00:00
Alex Herbert 72f45156d3 Update checkstyle configuration.
Configuration has been added based on commons-lang.

The Apache licence header has been added to the checkstyle config.
2020-02-18 21:38:53 +00:00
Gary Gregory f416d453af Update org.easymock:easymock 4.1 -> 4.2. 2020-02-13 10:29:54 -05:00
Gary Gregory 8f906c08fa [COLLECTIONS-746] Add
org.apache.commons.collections4.properties.PropertiesFactory.EMPTY_PROPERTIES.

[build] Update Jacoco from 0.8.4 to 0.8.5.
2020-02-09 11:40:43 -05:00
Gary Gregory ee282c7c6b Update JUnit from 4.12 to 4.13. 2020-01-26 18:01:22 -05:00
Gary Gregory 13b132450c Update Apache commons-parent from 48 to 50. 2020-01-26 17:53:38 -05:00
Claude Warren 469c04b14c Initial bloom filter code contribution (#83)
* Added initial bloom filter code.  Added changed lang3 dependency from
test to compile in pom.xml

* added tests + made recommended changes.

* Updated documentation

* refactored ProtoBloomFilter added tests.

* Cleand up code and added tests

* Added CountingBloomFilter

* Fixed CountingBloomFilter issues

Fixed checkstyle and bug report issues

* Initial bloom filter collections checkin

* Added unit tests

* fixed test cases

* Extract BloomFilter as an interface

* added missing license info

* fixed Jacoco errors

* fixed names for so build picks up tests

* cleaned up Jacoco report for BloomNestedCollection

* removed unused code

* cleaned up and reformatted

* added javadoc

fixed issue with BloomNestedCollection detecting duplicates in an edge
case.

* fixed candidate testing bug

* Cleand up niggling report issues.

* fixed javadoc errors

* fixed javadoc for java 13 issue

* Second set of fixes.


* "package private for testing" for methods and properties.
* In "Builder":
** Field "hashes" made "final"
* removes some "Serializable" implementations.
* "StandardBloomFilter" made non non "final" fields final and changed
"final protected" to "final private".
* removed transient fields
* made Package name singular
* added javadocs for private and protected fields and methods.
* Occurrences of "bloom" replaced with "Bloom"

* removed checkstyle and findbugs exclusions

* Fixed method and class names

* Documentation updates

* Fixed checkstyle isses

Added BloomFilterConfiguration functions for estimation.

* added .checkstyle to eclipse ignore section.

* renamed test classes to match main class names

* Updated the documentation.

* Implemented requested changes.  Part of COLLECTIONS-728

Changed remaining "get" comments to "gets" etc.
Added final where possible and reasonable.
renamed enum Change to CHANGE
fixed missing javadoc links and missed name changes.
fixed ProtoBloomFilter hashCode
renamed CollectionStatistics to BloomCollectionStatistics
renamed CollectionConfiguration to BloomCollectionConfiguration
renamed BloomCollectionStatistics.getTxnCount() to getTransactionCount()

* Added final set of constructors and tests for them.

Cleaned up issues from Gilles Sadowski review

* fixes for Gilles Sadowski issues in BloomCollectionStatistics

* Update javadoc

* renamed match() -> matches() and inverseMatch() -> inverseMatches()

This follows the pattern set with the Object.equals() method name.

* added isFull() method to check if a bloom filter is full.

* Changed gate from StandardBloomFilter to BloomFilter

* renamed BloomCollectionX -> BloomFilterGatedX

specifically:
BloomCollectionConfiguration -> BloomFilterGatedConfiguraiton
BloomCollectionStatistics -> BloomFilterGatedStatistics

* Made the StandardBloomFilter(BitSet) constructor public

* removed extraneous build() methods from ProtoBloomFilter.Factory

* Added Use cases

* Initial cut

* changes for interface

* Changed to Hasher implementation

* Added missing files and removed Shape from some BloomFilter calls

* Added  @since 4.5 tags

* fixed javadoc

* fixed PMD errors

* Added tests and fixed sign extension issues

* changed to Byte constant

* made BloomFilter.verify*() non final

* Added remove(Hasher) for completeness

* Replaced private implementation of MurmurHash3 with commons-codec

* fixed typo

* Removed Hasher.Factory added HashFunction interface

* removed Usage.md

* made commons-codec dependency optional

* Improved performance of Iterator.

* renamed instance variable "md" as messageDigest.

* updated javadoc

* renamed Iter to Iterator and removed unused imports

* removed unused imports

* Made instance variables final.

Also fixed MD5 constructor to throw IllegalStateException if MD5 algo
can not be found.

* removed unused imports

* Updated javadoc.

* Added HashFunctionIdentity to replace HashFunctionName

Added test cases, updated java doc.
Renamed function implementations to reflect actual function.
Added comparators for HashFunctionIdentity

* fixed naming issues

* Updated javadoc

* fixed checkstyle issue

* Removed link that was causing problems in java 11+ javadoc

* changed HashFunctionIdentity.getProcess() to getProcessType()

* changed HashFunctionIdentity.getProcess() to getProcessType()

* Added package documentation

* Added BloomFilter interface and removed unnecessary methods

* updated tests and fixed issues

* Moved set operations to separate class and updated tests

* fixed FindBugs, PMD and Checkstyle errors

* fixed javadocs

* Added SetOperations and tests

* Added javadocs indicating optional commons-codec required

* Added another cosine test

* Updated to commons-codec 1.14

* fixed typos

* moved Hasher to o.a.c.c.b.hasher package

* extracted Shape.java and moved to o.a.c.c.b.hasher package

* Added javadoc and removed unused imports in testing code

* Added isEmpty() method to Hasher
2020-01-24 18:10:46 -05:00
Gary Gregory 861df7a823 [test] org.easymock:easymock 4.0.2 -> 4.1. 2019-11-23 17:24:50 -05:00
Sebb 5e13762caa git-wip-us => gitbox 2019-08-16 18:33:54 +01:00
Sebb fec2e657cc Explain why needed 2019-08-06 23:01:18 +01:00