Commit Graph

6817 Commits

Author SHA1 Message Date
Gary Gregory b02dad440f Unnecessary @SuppressWarnings("unchecked") 2022-03-07 15:36:13 -05:00
Gary Gregory 749062a6c0 Remove unused exceptions from test method signatures. 2022-03-07 15:36:03 -05:00
Gary Gregory 1230298044 Unnecessary @SuppressWarnings("unchecked") 2022-03-07 15:35:51 -05:00
Gary Gregory faa24452b5 Use genercis. 2022-03-07 15:32:16 -05:00
Gary Gregory 22cd660c33 Remove unused exceptions from test method signatures. 2022-03-07 15:28:11 -05:00
Gary Gregory 9ebcddc0b1 Use try-with-resources. 2022-03-07 15:27:28 -05:00
Gary Gregory e3e020fe2f Unnecessary @SuppressWarnings("unchecked") 2022-03-07 15:24:15 -05:00
Gary Gregory 85a7f721cc Unnecessary @SuppressWarnings("unchecked") 2022-03-07 15:21:18 -05:00
Gary Gregory 66d7e35866 Sort members. 2022-03-07 15:18:07 -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 18bd973564 Remove extra whitespace. 2022-03-07 14:55:42 -05:00
Gary Gregory 494dfc9e6b Merge branch 'master' of
https://gitbox.apache.org/repos/asf/commons-lang.git
2022-03-07 11:18:47 -05:00
Gary Gregory 0babc7a071 Sort imports. 2022-03-07 11:17:25 -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 72ad3cbc1a Add early null check. 2022-03-07 11:00:24 -05:00
Gary Gregory 5aa058c9d1 [LANG-1668] Update getMatchingMethod documentation. #862. 2022-03-06 11:16:27 -05:00
Maria Buiakova ccc12ff185
LANG-1668 Update getMatchingMethod documentation. (#862)
Adds a mention of IllegalStateException in case no unique method is found.
2022-03-06 11:14:06 -05:00
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