Commit Graph

6422 Commits

Author SHA1 Message Date
Gary Gregory 8d30dfb09f AdoptOpenJDK is moving to the Eclipse Foundation and rebranding as
Eclipse Temurin.
2021-08-29 00:18:52 -04:00
Gary Gregory fe60dcfd42 Deprecate StringUtils.defaultString(String, String) in favor of
Objects.toString(Object, String).
2021-08-28 16:40:49 -04:00
Gary Gregory 4cea07b48f Link to Apache Commons Text instead of deprecated methods. 2021-08-28 16:32:53 -04:00
Gary Gregory c45f0b8a5b Inline single use local variables.
Minor Javadoc tweak.
2021-08-27 16:18:19 -04:00
Gary Gregory 94ffa01a03 Add IntStreams. 2021-08-27 15:55:57 -04:00
Gary Gregory 3f9422aec4 Add IntToCharFunction. 2021-08-27 11:16:49 -04:00
Gary Gregory e93e4f2e87 Format nits. 2021-08-26 15:57:28 -04:00
Gary Gregory bfbf729ca7 Simplify. 2021-08-26 15:57:16 -04:00
Gary Gregory 005f035b30 Remove useless parens; use final. 2021-08-26 10:56:31 -04:00
Gary Gregory a223f0a007 Add standalone test for ToBooleanBiFunction. 2021-08-26 10:32:43 -04:00
Gary Gregory c542983f4a Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2021-08-26 10:06:25 -04:00
Gary Gregory 39901eb645 [LANG-1670] Fix typo in JavaDoc #795. 2021-08-26 10:06:16 -04:00
Igor Shuvalov b12dad5230
LANG-1670 Fix typo in JavaDoc (#795) 2021-08-26 10:04:28 -04:00
Gary Gregory 491804af12 Bump checkstyle from 8.43 to 8.45.1 #787. 2021-08-26 09:36:35 -04:00
dependabot[bot] 46c5640557
Bump checkstyle from 8.43 to 8.45.1 (#787)
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.43 to 8.45.1.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.43...checkstyle-8.45.1)

---
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>
2021-08-26 09:33:51 -04:00
Gary Gregory 98d8f1334e Bump jmh.version from 1.27 to 1.33 #794. 2021-08-26 09:33:30 -04:00
dependabot[bot] aac79fc1c9
Bump jmh.version from 1.27 to 1.33 (#794)
Bumps `jmh.version` from 1.27 to 1.33.

Updates `jmh-core` from 1.27 to 1.33

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

---
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-08-26 09:32:27 -04:00
Alex Herbert 3586d1a542 Remove unused import 2021-08-25 07:52:29 +01:00
Alex Herbert 3bd00a4247 Assert the composite BooleanConsumer created by andThen 2021-08-24 23:05:48 +01:00
Gary Gregory dcc6568100 Delegate to Objects.hashCode(). 2021-08-24 11:54:20 -04:00
Gary Gregory d05073e66d Delegate to Objects.equals(). 2021-08-24 11:50:50 -04:00
Gary Gregory 682c932541 Javadoc.
- The first sentence is automatically a paragraph.
- Close HTML tags.
- Remove whitespace.
- Remove dead in-line comments.
2021-08-24 11:46:52 -04:00
Gary Gregory 3ae9877d1a Javadoc.
- The first sentence is automatically a paragraph.
- Close HTML tags.
- Remove whitespace.
- Remove dead in-line comments.
2021-08-24 11:42:47 -04:00
Gary Gregory dfdbbfe569 Fixing reversed Javadoc descriptions in StopWatch #781. 2021-08-24 09:35:44 -04:00
Thunderforge 7941cfd255
Fixing reversed Javadoc descriptions (#781)
The descriptions for `formatTime()` and `formatSplitTime()` were reversed; the former said "Returns the split time" and the latter said "returns the time".

This PR switches their descriptions so that they now match the behavior of the methods.
2021-08-24 09:34:12 -04:00
Gary Gregory a8f18fc98e [LANG-1663] Update documentation to list correct exception for null
array parameters #785
2021-08-23 15:25:43 -04:00
Andrew Thomas 6da824d53f
LANG-1663: Update documentation to list correct exception for null array parameters (#785) 2021-08-23 15:24:45 -04:00
Gary Gregory be5ff9f9c1 Add BooleanConsumer. 2021-08-23 10:51:10 -04:00
Gary Gregory ce477d9140 OpenJDK 16 Day Period Parsing #791. 2021-08-19 09:12:23 -04:00
Andrew Thomas 03edee7451
LANG-1669: Fixed issue with parsing certain locales using day periods introduced in OpenJDK 16 and later resolved in OpenJDK 17 (#791) 2021-08-19 09:10:56 -04:00
Gary Gregory a6df7f7456 Add and use ArrayUtils.setAll(T[], IntFunction).
Add and use ArrayUtils.setAll(T[], Supplier).
2021-08-13 23:09:01 -04:00
Gary Gregory b7f13b9663 Format. 2021-08-13 22:12:02 -04:00
Gary Gregory 9060099e40 Sort members. 2021-08-13 17:46:09 -04:00
Gary Gregory 8320a19fce Bump checkstyle from 8.43 to 8.44. 2021-08-13 16:52:43 -04:00
Gary Gregory 0277e399fb Bump spotbugs-maven-plugin from 4.2.3 to 4.3.0. 2021-08-13 16:46:10 -04:00
Gary Gregory 31d5f47b3d Bump commons.javadoc.version from 3.2.0 to 3.3.0. 2021-08-13 16:44:06 -04:00
Gary Gregory 47d0046742 Add and use ThreadUtils.sleepQuietly(long). 2021-08-13 16:42:51 -04:00
Gary Gregory f7fedbfc54 [LANG-1667] Allow tests to access java.util classes such as ArrayList in
Java 16 #788.
2021-08-13 10:35:45 -04:00
Andrew Thomas ab96fb0245
LANG-1667: Allow tests to access java.util classes such as ArrayList in Java 16 (#788) 2021-08-13 10:33:55 -04:00
Gary Gregory 7c65852709 Close Javadoc tags. 2021-07-27 12:57:32 -04:00
Gary Gregory 66455cbaf8 Fail fast in ArrayCollector constructor. 2021-07-27 12:51:03 -04:00
Gary Gregory f5bc042503 Javadoc. 2021-07-27 12:50:18 -04:00
Gary Gregory e9e041b791 Make Streams.stream(Collection) null-safe. 2021-07-27 12:45:42 -04:00
Gary Gregory 3b56144559 Better test method name. 2021-07-27 12:30:03 -04:00
Gary Gregory eb15d360b4 Add missing Javadoc. 2021-07-23 09:01:56 -04:00
Gary Gregory b4144bd546 Simplify with a stream. 2021-07-22 14:32:41 -04:00
Gary Gregory 0b24a06eb5 Eat own dog food. 2021-07-22 14:30:16 -04:00
Gary Gregory 7d9d4d41a6 ClassUtils.comparator(). 2021-07-22 14:27:55 -04:00
Gary Gregory e09ad8a91a Sort members. 2021-07-22 13:56:26 -04:00
Gary Gregory d68ca4ab31 Sort members. 2021-07-22 13:52:37 -04:00