Commit Graph

6716 Commits

Author SHA1 Message Date
Gary Gregory 4ccdb456d0 Drop obsolete Travis build. 2021-12-23 08:56:10 -05:00
Gary Gregory ecf744f6c6 Fix typo. 2021-12-09 08:58:32 -05:00
Gary Gregory 0a5ac85312 Move Spotbugs plugin config files into a conf folder, decluttering the
root folder.
2021-12-09 08:57:26 -05:00
Gary Gregory 5def1c8d63 Add ArrayUtils.containsAny(Object[], Object...).
Primitive versions are TODOs.
2021-12-08 13:29:16 -05:00
Gary Gregory 4369537d8b ArrayUtils.toPrimitive(Boolean...) null array elements map to false,
like Boolean.parseBoolean(null) and its callers return false.

This also happens to address issues with catching NPEs reported by
Spotbugs 4.5.1 .
2021-12-08 13:11:21 -05:00
Gary Gregory d672dafa2e In-line some single use local variables. 2021-12-08 10:11:58 -05:00
Gary Gregory 4e9ca082a6 More precise Javadoc. 2021-12-08 10:07:09 -05:00
Gary Gregory 8a23b406df Bump animal-sniffer-maven-plugin from 1.19 to 1.20. 2021-12-08 09:55:01 -05:00
Gary Gregory 8c70fb4a3b Bump maven-bundle-plugin from 5.1.1 to 5.1.2.
Pick up maven-bundle-plugin from parent.
2021-12-08 09:49:35 -05:00
Gary Gregory 29839c2717 Better description of Javadoc deprecation and add missing @deprecation
annotation at the package level.
2021-12-08 09:28:58 -05:00
Gary Gregory a71bab967a Simpler constant definitions. 2021-12-08 09:18:25 -05:00
Gary Gregory bdaaeb5b1b Reuse constant for immutable cases. 2021-12-08 08:56:40 -05:00
Gary Gregory 766a8daa99 Update Javadoc to match implementation details. 2021-12-08 08:28:05 -05:00
Gary Gregory 3ffa6698ba Reuse factory method. 2021-12-08 08:24:59 -05:00
Gary Gregory ae2ba9dfb9 Add constructors that require non-null inputs in
org.apache.commons.lang3.tuple.

- Add ImmutablePair.ofNonNull(L, R)
- Add ImmutableTriple.ofNonNull(L, M, R)
- Add MutablePair.ofNonNull(L, R)
- Add MutableTriple.ofNonNull(L, M, R)
- Add Pair.ofNonNull(L, R)
- Add Triple.ofNonNull(L, M, R)
2021-12-08 08:23:02 -05:00
Gary Gregory 656d2023dc Javadoc. 2021-12-04 10:41:38 -05:00
Gary Gregory ad1a8c937e Remove unnecessary @SuppressWarnings("unchecked"). 2021-12-04 10:39:24 -05:00
Gary Gregory 45d454b3e7 Fix NullPointerException in ThreadUtils.getSystemThreadGroup() when the
current thread is stopped.
2021-12-04 10:07:30 -05:00
Gary Gregory 49cfcc2c47 Better param names. 2021-12-04 10:02:28 -05:00
Gary Gregory bf48d8a53c Javadoc typos. 2021-12-04 09:58:57 -05:00
Gary Gregory 69941d96c4 Fix PMD: Avoid using a branching statement as the last in a loop. 2021-12-04 09:51:55 -05:00
Gary Gregory 972bf05ade Refactor internals. 2021-12-04 09:15:17 -05:00
Gary Gregory e6ae7561a0 Add Streams.instancesOf(Class, Collection). 2021-12-03 13:47:48 -05:00
Gary Gregory b900dce200 Use final. 2021-11-30 22:32:16 -05:00
Gary Gregory 5ec94f443f De-duplicate PMD plugin management. 2021-11-30 22:27:08 -05:00
Gary Gregory 4e5e783159 Bump commons.japicmp.version 0.15.3 -> 0.15.4. 2021-11-30 21:03:39 -05:00
Gary Gregory 53a53e8576 Fix PMD build errors "java.lang.IncompatibleClassChangeError". 2021-11-30 21:01:21 -05:00
Gary Gregory 6e1c336675 Add FluentBitSet. 2021-11-30 16:11:27 -05:00
Gary Gregory a0ca52d297 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2021-11-29 11:57:32 -05:00
Gary Gregory d3e4ebfb79 Bump pmd-java8 from 6.40.0 to 6.41.0 #837. 2021-11-29 11:57:26 -05:00
dependabot[bot] 61c444d2b4
Bump pmd-java8 from 6.40.0 to 6.41.0 (#837)
Bumps [pmd-java8](https://github.com/pmd/pmd) from 6.40.0 to 6.41.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.40.0...pmd_releases/6.41.0)

---
updated-dependencies:
- dependency-name: net.sourceforge.pmd:pmd-java8
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-29 11:55:46 -05:00
Gary Gregory 42232e2ca0 Bump checkstyle from 9.1 to 9.2. 2021-11-29 11:47:38 -05:00
Gary Gregory cf2445c6b5 Normalize descriptions. 2021-11-29 10:28:48 -05:00
Gary Gregory 3f30787c0c Move entry. 2021-11-29 10:28:14 -05:00
Gary Gregory b7582dc1c1 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2021-11-29 10:25:35 -05:00
Gary Gregory 2e228aa66c Bump junit-bom from 5.8.1 to 5.8.2 #836. 2021-11-29 10:25:26 -05:00
dependabot[bot] 415de45999
Bump junit-bom from 5.8.1 to 5.8.2 (#836)
Bumps [junit-bom](https://github.com/junit-team/junit5) 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:junit-bom
  dependency-type: direct:production
  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-11-29 10:24:24 -05:00
dependabot[bot] 11d40f5799 Bump biz.aQute.bndlib from 6.0.0 to 6.1.0
Bumps [biz.aQute.bndlib](https://github.com/bndtools/bnd) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/bndtools/bnd/releases)
- [Changelog](https://github.com/bndtools/bnd/blob/master/docs/ADDING_RELEASE_DOCS.md)
- [Commits](https://github.com/bndtools/bnd/compare/6.0.0...6.1.0)

---
updated-dependencies:
- dependency-name: biz.aQute.bnd:biz.aQute.bndlib
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-27 09:47:09 +13:00
Gary Gregory 3b85fd9d79 Add 2 @SuppressWarnings("unchecked"). 2021-11-24 22:48:03 -05:00
dependabot[bot] d917f84bf5 Bump spotbugs-maven-plugin from 4.4.2.2 to 4.5.0.0
Bumps [spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin) from 4.4.2.2 to 4.5.0.0.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-4.4.2.2...spotbugs-maven-plugin-4.5.0.0)

---
updated-dependencies:
- dependency-name: com.github.spotbugs:spotbugs-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-24 16:10:07 +13:00
dependabot[bot] 2e6b228355 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:45:43 +13:00
Gary Gregory dc146cae66 Parameterize tests to validate supplementary character input. 2021-11-20 10:22:40 -05:00
Gary Gregory 1f06eb4dce Refactor some test fixtures. 2021-11-20 09:42:57 -05:00
Gary Gregory 8a4d1b82f8 Add EnumUtils.getEnumMap(Class, Function). #730.
Provides a different implementation than #730.
2021-11-19 09:16:03 -05:00
Gary Gregory 70abafc95d Sort members. 2021-11-19 09:07:52 -05:00
Gary Gregory 7f9472e898 Fix Javadoc typo. 2021-11-18 22:12:49 -05:00
Gary Gregory 897f2e37ec Drop useless parens and use lambda. 2021-11-18 22:06:25 -05:00
Gary Gregory adacce00cd Drop useless parens. 2021-11-18 15:47:19 -05:00
Gary Gregory d5c7094bdd Drop version label. 2021-11-18 15:20:04 -05:00
Gary Gregory 5c61f79004 Fix broken link. 2021-11-18 15:18:33 -05:00