Commit Graph

6888 Commits

Author SHA1 Message Date
Gary Gregory cd10cfd51f Make DurationUtils#getNanosOfMiili() null-safe. 2022-02-24 06:33:25 -05:00
Gary Gregory d7ff0ae5e5 Fix Javadoc. 2022-02-24 05:48:52 -05:00
dependabot[bot] 6a75afff25
Bump taglist-maven-plugin from 2.4 to 3.0.0 (#856)
Bumps [taglist-maven-plugin](https://github.com/mojohaus/taglist-maven-plugin) from 2.4 to 3.0.0.
- [Release notes](https://github.com/mojohaus/taglist-maven-plugin/releases)
- [Commits](https://github.com/mojohaus/taglist-maven-plugin/compare/taglist-maven-plugin-2.4...taglist-maven-plugin-3.0.0)

---
updated-dependencies:
- dependency-name: org.codehaus.mojo:taglist-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-18 10:11:49 -05:00
dependabot[bot] 1e0014fc17
Bump checkstyle from 9.2.1 to 9.3 (#854)
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 9.2.1 to 9.3.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-9.2.1...checkstyle-9.3)

---
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-11 11:04:24 -05:00
dependabot[bot] b036bc70d7
Bump commons.pmd-impl.version from 6.41.0 to 6.42.0 (#853)
Bumps `commons.pmd-impl.version` from 6.41.0 to 6.42.0.

Updates `pmd-core` from 6.41.0 to 6.42.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.41.0...pmd_releases/6.42.0)

Updates `pmd-java` from 6.41.0 to 6.42.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.41.0...pmd_releases/6.42.0)

Updates `pmd-javascript` from 6.41.0 to 6.42.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.41.0...pmd_releases/6.42.0)

Updates `pmd-jsp` from 6.41.0 to 6.42.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.41.0...pmd_releases/6.42.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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-11 10:38:13 -05:00
Gary Gregory 0a6d8b5483 Drop TravisCI badge. 2022-02-10 14:44:11 -05:00
Gary Gregory 3adea508fb Update NOTICE file for 2022. 2022-02-04 07:20:02 -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 41cfe1574a Add CodeQL badge. 2022-01-30 15:30:04 -05:00
Gary Gregory dd1defb1c0 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2022-01-30 15:19:42 -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 184e20697b
Add CodeQL and see what it says. 2022-01-30 15:04:16 -05:00
Gary Gregory 0ffdcf31e7 Add missing Javadoc param tag. 2021-12-31 08:43:37 -05:00
Gary Gregory 5741f6ff19 Add missing Javadoc param tag. 2021-12-31 08:41:12 -05:00
Gary Gregory 85c8c28b3d Avoid compiler warnings. 2021-12-31 08:39:27 -05:00
Gary Gregory 4defb74640 Avoid compiler warnings. 2021-12-31 08:36:22 -05:00
Gary Gregory ade7ded8ff Bump checkstyle from 9.2 to 9.2.1 #843. 2021-12-29 14:43:58 -05:00
dependabot[bot] 5f6955ceb8
Bump checkstyle from 9.2 to 9.2.1 (#843)
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 9.2 to 9.2.1.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-9.2...checkstyle-9.2.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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-29 14:42:22 -05:00
Rob Tompkins ac37c4a46a
update(dependabot): daily -> weekly;friday 2021-12-29 11:59:41 -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
dependabot[bot] 8219f7a2cd
Bump jmh.version from 1.33 to 1.34 (#842)
Bumps `jmh.version` from 1.33 to 1.34.

Updates `jmh-core` from 1.33 to 1.34

Updates `jmh-generator-annprocess` from 1.33 to 1.34

---
updated-dependencies:
- dependency-name: org.openjdk.jmh:jmh-core
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: org.openjdk.jmh:jmh-generator-annprocess
  dependency-type: direct:development
  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-12-24 10:51:34 -05:00
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