Commit Graph

6750 Commits

Author SHA1 Message Date
Gary Gregory cd29ff7778 LANG-1172: Support dash as a delimiter in locales #766 2022-03-05 19:25:04 -05:00
Clemens Wolff 35fb9fca83
LANG-1172: Support dash as a delimiter in locales (#766)
* LANG-1172: Support dash as a delimiter in locales

* Extract constants for dash and underscore

* Prioritize old delimiter in comparison order
2022-03-05 19:21:25 -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
dependabot[bot] 23981bad29
Bump commons.pmd-impl.version from 6.42.0 to 6.43.0 (#861)
Bumps `commons.pmd-impl.version` from 6.42.0 to 6.43.0.

Updates `pmd-core` from 6.42.0 to 6.43.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.42.0...pmd_releases/6.43.0)

Updates `pmd-java` from 6.42.0 to 6.43.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.42.0...pmd_releases/6.43.0)

Updates `pmd-javascript` from 6.42.0 to 6.43.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.42.0...pmd_releases/6.43.0)

Updates `pmd-jsp` from 6.42.0 to 6.43.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.42.0...pmd_releases/6.43.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-03-04 10:45:30 -05:00
Gary Gregory 96ccf8ba04 Bump actions/checkout from 2 to 3 #859 2022-03-04 10:18:23 -05:00
dependabot[bot] bddebf5cd3
Bump actions/checkout from 2 to 3 (#859)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [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...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  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-03-04 10:16:57 -05:00
Gary Gregory aff1ad8ee5 Replace package with verify in the default goal. 2022-03-04 10:01:32 -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
dependabot[bot] 9eb3a0d6e3
Bump maven-pmd-plugin from 3.15.0 to 3.16.0 (#858)
Bumps [maven-pmd-plugin](https://github.com/apache/maven-pmd-plugin) from 3.15.0 to 3.16.0.
- [Release notes](https://github.com/apache/maven-pmd-plugin/releases)
- [Commits](https://github.com/apache/maven-pmd-plugin/compare/maven-pmd-plugin-3.15.0...maven-pmd-plugin-3.16.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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-25 12:52:24 -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 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