Commit Graph

6850 Commits

Author SHA1 Message Date
dependabot[bot] 35f3293b50
Bump actions/cache from 2.1.7 to 3 (#867)
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.7 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.7...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  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-25 08:48:07 -07:00
Gary Gregory 69533819a0 Fix Checkstyle issue. 2022-03-25 08:47:03 -07:00
Gary Gregory 2252fade50 Javadoc 2022-03-21 11:41:38 -04:00
Gary Gregory 8218767894 Add Consumers. 2022-03-21 11:38:20 -04:00
Gary Gregory 3e6255ec52 Fix Checkstyle. 2022-03-21 11:36:01 -04:00
Gary Gregory 0486d069b5 Fix Javadoc doclint WARNING messages on Java 17. 2022-03-21 10:55:13 -04:00
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 318cc6ec4d Sort members. 2022-03-21 10:18:17 -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 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