Commit Graph

6641 Commits

Author SHA1 Message Date
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 3952780fd7 Adds TimeZones.toTimeZone(). 2022-03-20 14:27:50 -04:00
Gary Gregory 30c9be6f6d Better concurrency with the Java 8 API ConcurrentMap#computeIfAbsent(). 2022-03-20 14:27:28 -04:00
Gary Gregory f518bb6c6f Better concurrency with the Java 8 API ConcurrentMap#computeIfAbsent(). 2022-03-20 14:27:15 -04:00
Gary Gregory 9dd8584963 Better concurrency with the Java 8 API ConcurrentMap#computeIfAbsent(). 2022-03-20 14:27:10 -04:00
Gary Gregory 5648bc42e2 Better concurrency with the Java 8 API ConcurrentMap#computeIfAbsent(). 2022-03-20 14:06:39 -04:00
Gary Gregory 89bcc5f80e Better concurrency with the Java 8 API ConcurrentMap#computeIfAbsent(). 2022-03-20 14:06:23 -04:00
Gary Gregory cb6676b1bb Use Java 8 API ConcurrentMap#computeIfAbsent(). 2022-03-20 13:49:09 -04:00
Gary Gregory 4a5ef835cc Fix unintended commit. 2022-03-20 13:27:18 -04:00
Gary Gregory 033cd48313 Javadoc typo. 2022-03-20 13:25:59 -04:00
Gary Gregory 6dd2bce193 Remove extra whitespace. 2022-03-20 13:20:13 -04:00
Gary Gregory 9658994c9a In-line only used once local variable. 2022-03-20 13:15:04 -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 08f374f0d7 Javadoc.
More formal constant definition.
2022-03-10 12:40:37 -05:00
Gary Gregory 38285a15f5 Use ternary expression. 2022-03-08 10:30:39 -05:00
Gary Gregory 07b78ca38d Better parameter name. 2022-03-08 10:25:58 -05:00
Gary Gregory 0013a996d2 Fix Checkstyle issue. 2022-03-07 15:49:24 -05:00
Gary Gregory fb56d81ec2 Use genercis. 2022-03-07 15:38:34 -05:00
Gary Gregory b4f25f3056 Unnecessary @SuppressWarnings. 2022-03-07 15:38:02 -05:00
Gary Gregory 7752a7b980 Remove unused exceptions from test method signatures. 2022-03-07 15:37:00 -05:00
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