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
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
Gary Gregory
96ccf8ba04
Bump actions/checkout from 2 to 3 #859
2022-03-04 10:18:23 -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
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
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
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
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
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
Gary Gregory
ecf744f6c6
Fix typo.
2021-12-09 08:58:32 -05:00
Gary Gregory
0a5ac85312
Move Spotbugs plugin config files into a conf folder, decluttering the
...
root folder.
2021-12-09 08:57:26 -05:00
Gary Gregory
5def1c8d63
Add ArrayUtils.containsAny(Object[], Object...).
...
Primitive versions are TODOs.
2021-12-08 13:29:16 -05:00
Gary Gregory
4369537d8b
ArrayUtils.toPrimitive(Boolean...) null array elements map to false,
...
like Boolean.parseBoolean(null) and its callers return false.
This also happens to address issues with catching NPEs reported by
Spotbugs 4.5.1 .
2021-12-08 13:11:21 -05:00
Gary Gregory
d672dafa2e
In-line some single use local variables.
2021-12-08 10:11:58 -05:00
Gary Gregory
4e9ca082a6
More precise Javadoc.
2021-12-08 10:07:09 -05:00
Gary Gregory
8a23b406df
Bump animal-sniffer-maven-plugin from 1.19 to 1.20.
2021-12-08 09:55:01 -05:00
Gary Gregory
8c70fb4a3b
Bump maven-bundle-plugin from 5.1.1 to 5.1.2.
...
Pick up maven-bundle-plugin from parent.
2021-12-08 09:49:35 -05:00
Gary Gregory
29839c2717
Better description of Javadoc deprecation and add missing @deprecation
...
annotation at the package level.
2021-12-08 09:28:58 -05:00
Gary Gregory
a71bab967a
Simpler constant definitions.
2021-12-08 09:18:25 -05:00
Gary Gregory
bdaaeb5b1b
Reuse constant for immutable cases.
2021-12-08 08:56:40 -05:00
Gary Gregory
766a8daa99
Update Javadoc to match implementation details.
2021-12-08 08:28:05 -05:00
Gary Gregory
3ffa6698ba
Reuse factory method.
2021-12-08 08:24:59 -05:00
Gary Gregory
ae2ba9dfb9
Add constructors that require non-null inputs in
...
org.apache.commons.lang3.tuple.
- Add ImmutablePair.ofNonNull(L, R)
- Add ImmutableTriple.ofNonNull(L, M, R)
- Add MutablePair.ofNonNull(L, R)
- Add MutableTriple.ofNonNull(L, M, R)
- Add Pair.ofNonNull(L, R)
- Add Triple.ofNonNull(L, M, R)
2021-12-08 08:23:02 -05:00
Gary Gregory
656d2023dc
Javadoc.
2021-12-04 10:41:38 -05:00
Gary Gregory
ad1a8c937e
Remove unnecessary @SuppressWarnings("unchecked").
2021-12-04 10:39:24 -05:00
Gary Gregory
45d454b3e7
Fix NullPointerException in ThreadUtils.getSystemThreadGroup() when the
...
current thread is stopped.
2021-12-04 10:07:30 -05:00
Gary Gregory
49cfcc2c47
Better param names.
2021-12-04 10:02:28 -05:00
Gary Gregory
bf48d8a53c
Javadoc typos.
2021-12-04 09:58:57 -05:00
Gary Gregory
69941d96c4
Fix PMD: Avoid using a branching statement as the last in a loop.
2021-12-04 09:51:55 -05:00
Gary Gregory
972bf05ade
Refactor internals.
2021-12-04 09:15:17 -05:00
Gary Gregory
e6ae7561a0
Add Streams.instancesOf(Class, Collection).
2021-12-03 13:47:48 -05:00
Gary Gregory
b900dce200
Use final.
2021-11-30 22:32:16 -05:00
Gary Gregory
4e5e783159
Bump commons.japicmp.version 0.15.3 -> 0.15.4.
2021-11-30 21:03:39 -05:00
Gary Gregory
6e1c336675
Add FluentBitSet.
2021-11-30 16:11:27 -05:00
Gary Gregory
d3e4ebfb79
Bump pmd-java8 from 6.40.0 to 6.41.0 #837 .
2021-11-29 11:57:26 -05:00
Gary Gregory
42232e2ca0
Bump checkstyle from 9.1 to 9.2.
2021-11-29 11:47:38 -05:00
Gary Gregory
cf2445c6b5
Normalize descriptions.
2021-11-29 10:28:48 -05:00
Gary Gregory
3f30787c0c
Move entry.
2021-11-29 10:28:14 -05:00
Gary Gregory
2e228aa66c
Bump junit-bom from 5.8.1 to 5.8.2 #836 .
2021-11-29 10:25:26 -05:00
dependabot[bot]
11d40f5799
Bump biz.aQute.bndlib from 6.0.0 to 6.1.0
...
Bumps [biz.aQute.bndlib](https://github.com/bndtools/bnd ) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/bndtools/bnd/releases )
- [Changelog](https://github.com/bndtools/bnd/blob/master/docs/ADDING_RELEASE_DOCS.md )
- [Commits](https://github.com/bndtools/bnd/compare/6.0.0...6.1.0 )
---
updated-dependencies:
- dependency-name: biz.aQute.bnd:biz.aQute.bndlib
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-27 09:47:09 +13:00
Gary Gregory
3b85fd9d79
Add 2 @SuppressWarnings("unchecked").
2021-11-24 22:48:03 -05:00
dependabot[bot]
d917f84bf5
Bump spotbugs-maven-plugin from 4.4.2.2 to 4.5.0.0
...
Bumps [spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin ) from 4.4.2.2 to 4.5.0.0.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases )
- [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-4.4.2.2...spotbugs-maven-plugin-4.5.0.0 )
---
updated-dependencies:
- dependency-name: com.github.spotbugs:spotbugs-maven-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-24 16:10:07 +13:00
dependabot[bot]
2e6b228355
Bump actions/cache from 2.1.6 to 2.1.7
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2.1.6 to 2.1.7.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2.1.6...v2.1.7 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-24 13:45:43 +13:00
Gary Gregory
dc146cae66
Parameterize tests to validate supplementary character input.
2021-11-20 10:22:40 -05:00
Gary Gregory
1f06eb4dce
Refactor some test fixtures.
2021-11-20 09:42:57 -05:00
Gary Gregory
8a4d1b82f8
Add EnumUtils.getEnumMap(Class, Function). #730 .
...
Provides a different implementation than #730 .
2021-11-19 09:16:03 -05:00
Gary Gregory
70abafc95d
Sort members.
2021-11-19 09:07:52 -05:00
Gary Gregory
7f9472e898
Fix Javadoc typo.
2021-11-18 22:12:49 -05:00
Gary Gregory
897f2e37ec
Drop useless parens and use lambda.
2021-11-18 22:06:25 -05:00
Gary Gregory
adacce00cd
Drop useless parens.
2021-11-18 15:47:19 -05:00
Gary Gregory
d5c7094bdd
Drop version label.
2021-11-18 15:20:04 -05:00
Gary Gregory
5c61f79004
Fix broken link.
2021-11-18 15:18:33 -05:00
Gary Gregory
8f48ed8adf
Add Streams.failableStream(Collection) and deprecate misnamed
...
stream(Collection).
Add Streams.failableStream(Stream) and deprecate misnamed
stream(Stream).
2021-11-18 14:52:55 -05:00
Gary Gregory
a0d20586c4
Fix typos in param names.
2021-11-18 12:47:43 -05:00
Gary Gregory
ff415c8f8f
Add Streams.nullSafeStream(Collection).
...
Add Streams.toStream(Collection).
2021-11-18 12:46:31 -05:00
Gary Gregory
51ad9f989d
Javadoc.
2021-11-18 11:19:04 -05:00
Gary Gregory
4f059ec8e1
Sort members.
2021-11-18 11:18:16 -05:00
Gary Gregory
4af0444fbf
Use Set instead of List for checking the contains() method #734 .
2021-11-17 18:12:19 -05:00
ciprianb
ca4e62f7ba
Use Set instead of List for checking the contains() method ( #734 )
...
Co-authored-by: Ciprian Bodnarescu <ciprian.bodnarescu@netcentric.biz>
2021-11-17 18:05:29 -05:00
Gary Gregory
8c42549396
Use final. #816
2021-11-17 08:33:03 -05:00
Arturo Bernal
e299a185d4
Make final var when is possible. ( #816 )
2021-11-17 08:31:50 -05:00
Gary Gregory
f75f5b9373
Add MethodInvokers.
2021-11-17 00:42:26 -05:00
Gary Gregory
053e263166
Add UncheckedIllegalAccessException.
2021-11-16 21:48:32 -05:00
Gary Gregory
ae4225c174
Organize imports.
2021-11-16 20:57:06 -05:00
Gary Gregory
88500bece2
Add and use ClassUtils.isPublic(Class).
2021-11-15 14:28:41 -05:00
Gary Gregory
38533393ba
Internal refactoring.
2021-11-15 14:21:18 -05:00
Gary Gregory
6bda5d18d2
Javadoc.
2021-11-15 13:44:42 -05:00
Gary Gregory
9fce1d619e
Better argument names.
2021-11-15 13:43:46 -05:00
Gary Gregory
99ad9d91bb
Bump junit-pioneer from 1.4.2 to 1.5.0 #832 .
2021-11-15 10:47:30 -05:00
Gary Gregory
9208f1d0b9
Fix Javadoc link.
2021-11-15 08:31:35 -05:00
Gary Gregory
525b1df56b
Add test case.
2021-11-15 08:30:55 -05:00
Gary Gregory
e151438181
Add test case.
2021-11-15 08:30:38 -05:00
Gary Gregory
e9555ffa39
Internal refactoring.
2021-11-14 17:02:39 -05:00
Gary Gregory
bef0c8a572
Sort test methods.
2021-11-13 20:19:18 -05:00
Gary Gregory
a4c829591f
Add UncheckedReflectiveOperationException.
2021-11-13 08:48:17 -05:00
Gary Gregory
9d40f8a5a7
Add UncheckedReflectiveOperationException.
2021-11-13 08:48:07 -05:00
Gary Gregory
03b84cb349
Remove useless parentheses.
2021-11-12 15:29:23 -05:00
Gary Gregory
6dc8492caf
Javadoc typo.
2021-11-12 15:12:04 -05:00
Gary Gregory
ffc32f6665
Bump spotbugs-maven-plugin from 4.4.1 to 4.4.2.2 #822
2021-11-12 08:02:46 -05:00
Gary Gregory
346dadd717
Bump actions/checkout from 2.3.5 to 2.4.0 #825 .
2021-11-12 08:01:40 -05:00
Gary Gregory
f892c9072a
Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git
2021-11-07 07:51:49 -05:00
Gary Gregory
858d536873
Add TODO comment.
2021-11-07 07:51:35 -05:00
dependabot[bot]
18a82dc4ae
Bump checkstyle from 9.0.1 to 9.1
...
Bumps [checkstyle](https://github.com/checkstyle/checkstyle ) from 9.0.1 to 9.1.
- [Release notes](https://github.com/checkstyle/checkstyle/releases )
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-9.0.1...checkstyle-9.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>
2021-11-03 11:09:10 +13:00
Bruno P. Kinoshita
391d51055b
[LANG-1664] Changelog
2021-10-31 11:59:05 +13:00
Roland Kreuzer
3942fad3c2
[LANG-1664] Adjust doc to show argument is a primitive integer / character code point
2021-10-31 11:58:56 +13:00
Gary Gregory
b8b76fcd11
Bump spotbugs-maven-plugin from 4.4.2 to 4.4.2.2.
2021-10-25 09:48:59 -04:00
Gary Gregory
34a6e75d1d
Bump spotbugs-maven-plugin from 4.4.1 to 4.4.2.
2021-10-25 09:42:58 -04:00
Gary Gregory
466cfc5894
Bump maven-javadoc-plugin from 3.3.0 to 3.3.1.
2021-10-25 09:40:31 -04:00
Gary Gregory
8e1df6b9bf
Add ComparableUtils.max(A, A) and ComparableUtils.min(A, A).
2021-10-25 09:34:31 -04:00
Gary Gregory
ce1ef40ad9
Fix weird formatting.
2021-10-25 08:34:51 -04:00
Gary Gregory
d9f2ff9666
Bump actions/checkout from 2.3.4 to 2.3.5 #819 .
2021-10-22 14:39:57 -04:00
Gary Gregory
cbec58a26e
LANG-1659 - Add null-safe ObjectUtils.isArray() #754 .
2021-10-17 09:57:35 -04:00
Gary Gregory
6eb40622b4
Add final var ( #813 ).
2021-10-17 09:56:24 -04:00
Arturo Bernal
62d7aacb4f
LANG-1659 - Method to check if an object it's an array. ( #754 )
2021-10-17 09:55:17 -04:00
Arturo Bernal
6da891529b
Add final var ( #813 )
...
Remove redundant String.
2021-10-17 09:46:33 -04:00
Gary Gregory
da036809e9
Remove dead comments.
2021-10-17 09:44:23 -04:00
Gary Gregory
bda6a4fc83
Sort members.
2021-10-17 09:42:28 -04:00
Gary Gregory
e6eba6e9ac
[LANG-1674] Make Range constructors more generic #810 .
...
Modify PR #810 from singhbaljit to fix Checkstyle error and expand the
unit test to all factory methods.
2021-10-17 09:31:06 -04:00
Gary Gregory
68b733c71b
Format tweaks.
2021-10-17 09:20:22 -04:00
Gary Gregory
ad37cca1ca
Add test idea for RangeTest from PR #815 by Rushi98, but with a new
...
comment.
2021-10-17 08:50:39 -04:00
Gary Gregory
d9d0018685
Bump biz.aQute.bndlib from 5.3.0 to 6.0.0 #814 .
2021-10-16 14:52:44 -04:00
Gary Gregory
5911e928c4
Close HTML tags in Javadoc and better parameter names.
2021-10-11 15:12:17 -04:00
Gary Gregory
a3a0645874
Fix ObjectUtils Javadocs #755 .
2021-10-08 15:29:05 -04:00
Arturo Bernal
9501ae42b2
Fix javadoc ( #755 )
2021-10-08 15:28:39 -04:00
Gary Gregory
a026da0a98
Remove redundant initializers #800 .
2021-10-08 15:26:44 -04:00
Arturo Bernal
d094dd624e
Remove redundant initializer. ( #800 )
2021-10-08 15:25:53 -04:00
Gary Gregory
8407c6212c
Merge spotbugs-maven-plugin entries.
2021-10-08 15:18:51 -04:00
Gary Gregory
b893de412b
Bump checkstyle from 8.45.1 to 9.0.1 #811 .
2021-10-08 15:17:33 -04:00
Gary Gregory
a403c21a73
Bump spotbugs-maven-plugin from 4.3.0 to 4.4.1 #808 .
2021-10-08 15:16:38 -04:00
Gary Gregory
894649e7bb
Bump junit-bom from 5.8.0 to 5.8.1 #807 .
2021-10-08 15:15:16 -04:00
Gary Gregory
e3e29d585a
Add StringUtils.removeStart(String, char).
2021-10-08 14:28:50 -04:00
Gary Gregory
a2e13c6cee
Bump maven-pmd-plugin from 3.14.0 to 3.15.0 #802 .
2021-09-23 10:09:27 -04:00
Gary Gregory
30bb1e2d8c
Bump junit-bom from 5.7.2 to 5.8.0 #805 .
2021-09-23 10:08:25 -04:00
Gary Gregory
d2687419c6
"@exception" -> "@throws"
2021-09-06 14:25:20 -04:00
Gary Gregory
4ff5e2b9f9
Extract a map method.
2021-09-01 15:23:02 -04:00
Gary Gregory
8efbb7df05
No leading underscores in private names.
2021-09-01 14:39:35 -04:00
Gary Gregory
5a580fb9cb
Use final, valueOf(), lambdas.
2021-09-01 11:04:21 -04:00
Gary Gregory
7f7c3d63c8
Add ObjectUtils.identityHashCodeHex(Object).
...
Add ObjectUtils.hashCodeHex(Object).
2021-09-01 10:16:42 -04:00
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
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
Gary Gregory
98d8f1334e
Bump jmh.version from 1.27 to 1.33 #794 .
2021-08-26 09:33:30 -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
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