911 Commits

Author SHA1 Message Date
Gary Gregory
a9f9ba4fba Bump SpotBugs to the current versions of Maven Plugin and underlying
tool.

- TODO Can any of these be done without breaking binary compatibility?
EI_EXPOSE_REP, EI_EXPOSE_REP2, MS_EXPOSE_REP,
REFLF_REFLECTION_MAY_INCREASE_ACCESSIBILITY_OF_FIELD.
- Equals and hashcode do not match up.
2022-03-21 10:36:56 -04:00
Gary Gregory
e5910c7a03 Bump animal-sniffer-maven-plugin from 1.20 to 1.21. 2022-03-21 10:04:09 -04:00
Gary Gregory
9da59d6deb Bump commons.japicmp.version 0.15.4 to 0.15.7 2022-03-21 10:01:52 -04:00
Gary Gregory
389fb37c56 Add Memoizer(Function) and Memoizer(Function, boolean). 2022-03-21 10:00:41 -04:00
Gary Gregory
85751a118e Refactor to create the mapping function once.
Add FutureTasks.
2022-03-21 09:19:13 -04:00
Gary Gregory
00bccd85e5 Add TimeZones.toTimeZone(TimeZone). 2022-03-20 14:28:44 -04:00
Gary Gregory
3ac79227ed Bump biz.aQute.bnd:biz.aQute.bndlib from 6.1.0 to 6.2.0 2022-03-11 09:42:44 -05:00
Gary Gregory
90e6dd6d4d Bump org.junit-pioneer:junit-pioneer from 1.6.1 to 1.6.2 2022-03-11 09:36:10 -05:00
Gary Gregory
c82d9a4809 [LANG-1462] Use TimeZone from calendar in DateFormatUtils.
Adapted from PR #863 by mbuiakova with:
- No SpotBugs failure
- Refactored common code
- Moved new test method to proper location in test class.
2022-03-07 15:11:28 -05:00
Gary Gregory
13121dafec Deprecate Validate#notNull(Object) in favor of using
Objects#requireNonNull(Object, String).

Note that the NPE message are now specific in which parameter is null
instead of using a whole sentence to report what the exception class
says, and less US English-centric.
2022-03-07 11:16:32 -05:00
Gary Gregory
abb5a409f7 Bump commons.pmd-impl.version from 6.42.0 to 6.43.0 #861 2022-03-04 10:47:14 -05:00
Gary Gregory
96ccf8ba04 Bump actions/checkout from 2 to 3 #859 2022-03-04 10:18:23 -05:00
Gary Gregory
02f3bee7bc
Bump maven-pmd-plugin from 3.15.0 to 3.16.0 #858 2022-02-25 13:15:25 -05:00
Gary Gregory
c14d4876a4 Bump org.junit-pioneer:junit-pioneer from 1.5.0 to 1.6.1. 2022-02-24 06:57:18 -05:00
Gary Gregory
02200b8411 Bump maven-javadoc-plugin from 3.3.1 to 3.3.2. 2022-02-24 06:51:05 -05:00
Gary Gregory
2777d6784e Add JavaVersion for Java 18 since a release candidate is available. 2022-02-24 06:48:59 -05:00
Gary Gregory
4753c6b4d4 StrBuilder.StrBuilderReader.skip(long): Throw an exception when an
implicit narrowing conversion in a compound
assignment would result in information loss or a numeric error such as
an overflows.
2022-01-30 15:33:25 -05:00
Gary Gregory
1eba02e2a2 Throw an exception when an implicit narrowing conversion in a compound
assignment would result in information loss or a numeric error such as
an overflows.
2022-01-30 15:19:28 -05:00
Gary Gregory
ade7ded8ff Bump checkstyle from 9.2 to 9.2.1 #843. 2021-12-29 14:43:58 -05:00
Gary Gregory
16d587d73c Add support for detection of Aarch64.
- Add Processor.Type.AARCH_64.
- Add Processor.isAarch64().
- Update ArchUtils.getProcessor(String) for "aarch64".
2021-12-28 09:58:35 -05:00
Gary Gregory
5d8876279b Bump jmh.version from 1.33 to 1.34 #842. 2021-12-24 10:54:13 -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
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
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
45d454b3e7 Fix NullPointerException in ThreadUtils.getSystemThreadGroup() when the
current thread is stopped.
2021-12-04 10:07:30 -05:00
Gary Gregory
e6ae7561a0 Add Streams.instancesOf(Class, Collection). 2021-12-03 13:47:48 -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
6e1c336675 Add FluentBitSet. 2021-11-30 16:11:27 -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
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
2e228aa66c Bump junit-bom from 5.8.1 to 5.8.2 #836. 2021-11-29 10:25:26 -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
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
8a4d1b82f8 Add EnumUtils.getEnumMap(Class, Function). #730.
Provides a different implementation than #730.
2021-11-19 09:16:03 -05:00
Gary Gregory
8f48ed8adf Add Streams.failableStream(Collection) and deprecate misnamed
stream(Collection).

Add Streams.failableStream(Stream) and deprecate misnamed
stream(Stream).
2021-11-18 14:52:55 -05:00
Gary Gregory
ff415c8f8f Add Streams.nullSafeStream(Collection).
Add Streams.toStream(Collection).
2021-11-18 12:46:31 -05:00
Gary Gregory
4af0444fbf Use Set instead of List for checking the contains() method #734. 2021-11-17 18:12:19 -05:00
Gary Gregory
8c42549396 Use final. #816 2021-11-17 08:33:03 -05:00
Gary Gregory
f75f5b9373 Add MethodInvokers. 2021-11-17 00:42:26 -05:00
Gary Gregory
053e263166 Add UncheckedIllegalAccessException. 2021-11-16 21:48:32 -05:00
Gary Gregory
88500bece2 Add and use ClassUtils.isPublic(Class). 2021-11-15 14:28:41 -05:00
Gary Gregory
99ad9d91bb Bump junit-pioneer from 1.4.2 to 1.5.0 #832. 2021-11-15 10:47:30 -05:00
Gary Gregory
a4c829591f Add UncheckedReflectiveOperationException. 2021-11-13 08:48:17 -05:00
Gary Gregory
ffc32f6665 Bump spotbugs-maven-plugin from 4.4.1 to 4.4.2.2 #822 2021-11-12 08:02:46 -05:00
Gary Gregory
346dadd717 Bump actions/checkout from 2.3.5 to 2.4.0 #825. 2021-11-12 08:01:40 -05:00