Commit Graph

6486 Commits

Author SHA1 Message Date
Gary Gregory b652c477f6 Javadoc. 2021-08-31 15:24:31 -04:00
Gary Gregory 9e6383cb21 Add SystemUtils.IS_JAVA_16. 2021-08-31 11:26:17 -04:00
Gary Gregory ff1209f00f Inline duplicate constants. 2021-08-31 10:57:30 -04:00
Gary Gregory eea85f25e5 Add and use TimeZones.GMT. 2021-08-31 10:51:22 -04:00
Gary Gregory c267e39091 Reuse constant TimeZones.GMT_ID. 2021-08-31 10:38:21 -04:00
Gary Gregory f8e225cf46 Avoid multiple equivalent occurrences of the same expression. #797. 2021-08-31 09:07:36 -04:00
Arturo Bernal e2e3e0e19a
Avoid multiple equivalent occurrences of the same expression. (#797) 2021-08-31 09:06:34 -04:00
Gary Gregory 8c153b8333 Javadoc: Don't refer to package private method. 2021-08-30 09:45:14 -04:00
Gary Gregory 34a85e7436 Refactorings; reuse UncheckedFuture. 2021-08-30 09:19:58 -04:00
Gary Gregory c28b2e4e71 Better internal name. 2021-08-29 15:56:06 -04:00
Gary Gregory 817f834802 Fix internal name. 2021-08-29 15:52:00 -04:00
Gary Gregory ed38b62396 Simplify assertions with equivalent but more simple. #792. 2021-08-29 15:48:18 -04:00
Arturo Bernal 0a73261eef
Simplify assertions with equivalent but more simple. (#792) 2021-08-29 15:47:30 -04:00
Gary Gregory 5afd54ce67 Add UncheckedFuture.
Add UncheckedException.
Add UncheckedExecutionException.
Add UncheckedTimeoutException.
Add UncheckedInterruptedException.
2021-08-29 13:51:56 -04:00
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