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
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
Gary Gregory
b0d9979fb6
Javadoc.
2021-07-10 10:28:13 -04:00
Gary Gregory
cfe934e2d0
Better private method name.
2021-07-10 10:25:48 -04:00
Gary Gregory
46094be47e
Javadoc: Tagging the first sentence as a paragraph is redundant.
...
- Use pre tags instead of code tags for in-line code examples.
- Close HTML tags.
- Use "Gets..." for most getters.
2021-07-10 10:25:02 -04:00
Gary Gregory
b82f96ecbb
Remove dead in-line comments.
2021-07-10 09:59:59 -04:00
Gary Gregory
929c5f6e68
Simplify expressions.
...
Use final.
Parse to primitive.
2021-07-10 09:52:40 -04:00
Gary Gregory
627a699bd0
Use Stream.of().
2021-07-01 14:55:58 -04:00
Gary Gregory
5c6de5a7a0
Add and use null-safe Streams.of(T[]).
2021-07-01 14:46:15 -04:00
Gary Gregory
261a5797bd
Add a @SuppressWarnings.
2021-06-23 09:59:38 -04:00
Gary Gregory
8218578b74
Bump junit-pioneer from 1.4.1 to 1.4.2 #767 .
2021-06-22 08:46:58 -04:00
Gary Gregory
b730c33cb2
Bump checkstyle from 8.42 to 8.43 #768 .
2021-06-22 08:46:02 -04:00
Gary Gregory
1b3d6958b7
Bump actions/cache from 2.1.5 to 2.1.6 #764 .
2021-06-22 08:44:54 -04:00
Gary Gregory
601e976b0d
Remove dead inline comments.
2021-06-02 17:32:51 -04:00
Gary Gregory
bbc690f2cb
Format nit.
2021-05-25 17:19:23 -04:00
Gary Gregory
357951ff5c
Remove some @SuppressWarnings.
2021-05-25 15:23:43 -04:00
Gary Gregory
1682277ebc
Revert.
2021-05-25 13:48:57 -04:00
Gary Gregory
86683978bd
Simpler boolean tests.
2021-05-25 13:41:55 -04:00
Gary Gregory
d02b2c53a0
Use valueOf().
2021-05-25 13:39:51 -04:00
Gary Gregory
b4a43380f1
Use valueOf().
2021-05-25 13:38:02 -04:00
Gary Gregory
2d86ac6ecf
Lambdas.
2021-05-25 13:36:29 -04:00
Gary Gregory
e8fe1a941c
Create array with curly.
2021-05-25 13:34:53 -04:00
Gary Gregory
24957f9934
Use final.
2021-05-25 13:34:08 -04:00
Gary Gregory
d72c88a082
Remove unused imports and reorg others.
2021-05-25 10:30:21 -04:00
Gary Gregory
8ae6a3925a
Add and use ArrayUtils.newInstance(Class<T>, int).
2021-05-25 10:18:47 -04:00
Gary Gregory
27101b4739
Add and use APIs to avoid compiler warnings and use of
...
@SuppressWarnings.
- Add and use ArrayUtils.getComponentType(T[]).
- Add and use ClassUtils.getComponentType(Class<T[]>).
- Add and use ObjectUtils.getClass(T).
2021-05-25 09:57:29 -04:00
Gary Gregory
56e525d074
Remove useless in-line comments.
2021-05-25 09:38:21 -04:00
Gary Gregory
57e5a3edd1
Remove useless in-line comments.
2021-05-25 08:59:00 -04:00
Gary Gregory
7b7aaa4e7c
Bump junit-bom from 5.7.1 to 5.7.2 #761 .
2021-05-22 17:28:45 -04:00
Gary Gregory
83cbc149a3
Remove extra whitespace.
2021-05-22 08:24:38 -04:00
Gary Gregory
acd7283f19
Redundant Collection operation. Use Collections.emptyIterator() #738 .
2021-05-14 09:38:52 -04:00
Arturo Bernal
6e4ed7cd4f
Redundant Collection operation. Use Collections.emptyIterator() ( #738 )
2021-05-14 09:37:09 -04:00
Gary Gregory
950ab130d6
Upgrade checkstyle 8.41.1 -> 8.42 #752 .
2021-05-12 09:07:02 -04:00
XenoAmess
3dde1e8bbf
upgrade checkstyle ( #752 )
2021-05-12 09:05:18 -04:00
Gary Gregory
b48077252d
Bump junit-pioneer from 1.3.8 to 1.4.1 #749 .
2021-05-12 09:03:50 -04:00
Gary Gregory
523672d25c
Update some build dependencoes.
...
- commons.jacoco.version 0.8.6 -> 0.8.7.
- commons.japicmp.version 0.15.2 -> 0.15.3.
2021-05-12 08:44:52 -04:00
Gary Gregory
d5a1814d63
Bump easymock from 4.2 to 4.3 #746 .
2021-04-19 09:03:57 -04:00
Gary Gregory
03f559700f
spotbugs-maven-plugin 4.2.2 -> 4.2.3.
2021-04-18 19:25:51 -04:00
Gary Gregory
2978cb6cf0
DMI: Random object created and used only once
...
(DMI_RANDOM_USED_ONLY_ONCE); Better multi-threaded behavior.
Thank you SpotBugs.
Sort methods.
2021-04-18 19:21:44 -04:00
Gary Gregory
5d51fc2878
Typo.
2021-04-18 18:48:04 -04:00
Gary Gregory
6ad3961b3f
Bump actions/setup-java from v1.4.3 to v2.
...
Update changes.xml for recent PRs.
2021-04-18 18:47:19 -04:00
Gary Gregory
9723b57f3b
Checkstyle.
2021-04-18 18:44:22 -04:00
Gary Gregory
4e18561e49
Add and use Suppliers.
2021-04-18 18:37:17 -04:00
Gary Gregory
320486fe17
Remove dead comments.
2021-04-18 18:19:25 -04:00
Gary Gregory
d1e9e598c9
Add test for SystemUtils.USER_NAME.
2021-03-28 08:47:59 -04:00
Gary Gregory
5e5af7a02b
Sort members.
2021-03-28 08:45:13 -04:00
Gary Gregory
79eb89e351
Add and use EnumUtils.getFirstEnumIgnoreCase(Class, String, Function,
...
E).
2021-03-26 10:11:41 -04:00
Gary Gregory
c06fd10b0e
Bump spotbugs-maven-plugin from 4.2.0 to 4.2.2 #735 .
2021-03-24 19:46:34 -04:00
Gary Gregory
b4e95a4736
Add TriConsumer; provenance Apache Log4j 2.7, and enhanced with
...
andThen().
2021-03-24 19:44:47 -04:00
Gary Gregory
a6714731f5
Clarify entry.
2021-03-17 09:11:41 -04:00
Gary Gregory
9d5bf4b4e2
Normalize to US English spelling.
2021-03-17 09:11:06 -04:00
Gary Gregory
0727c6f9c8
Bump next version for semver to minor release.
2021-03-17 09:10:37 -04:00
Gary Gregory
700be0d8c1
EnumUtils.getEnumSystemProperty(...).
2021-03-17 08:55:26 -04:00
Gary Gregory
64e6ddbc6b
Sort methods.
2021-03-17 08:31:39 -04:00
Gary Gregory
61b1747580
Sort members.
2021-03-17 08:22:23 -04:00
Gary Gregory
6b9964ff4b
No need to nest in else.
2021-03-05 15:18:32 -05:00
aherbert
a2b2b35ac3
[LANG-1646] NumberUtils to return requested floating point type for zero
2021-03-05 16:12:41 +00:00
aherbert
0cfc31b987
Fix formatting
2021-03-05 11:46:15 +00:00
aherbert
f53de756a8
Remove bad javadoc from test
2021-03-05 11:41:59 +00:00
aherbert
dde6790a88
[LANG-1645] NumberUtils to recognise hex integers prefixed with +
...
Closes #728
2021-03-05 11:41:38 +00:00
Gary Gregory
195ecefc8d
Bump junit-pioneer from 1.3.0 to 1.3.8 #721 .
2021-03-04 11:33:49 -05:00
Gary Gregory
caddb8bd54
Bump checkstyle from 8.40 to 8.41 #722 .
2021-03-04 11:32:23 -05:00
Gary Gregory
4e85f1df6c
Bump spotbugs from 4.2.1 to 4.2.2 #726 .
2021-03-04 11:30:39 -05:00
Gary Gregory
b59c7bfe24
Use String.replace() instead of String.replaceAll().
2021-03-02 10:36:40 -05:00
Gary Gregory
80a9a5dcbf
Remove dead comments.
2021-03-02 08:46:49 -05:00
Gary Gregory
c11e89595d
Sort members.
2021-03-02 08:46:17 -05:00
Gary Gregory
6087c1d351
Add entry for next version.
2021-03-02 08:43:42 -05:00
Gary Gregory
f967efc8fc
Fix release date.
2021-03-01 21:12:19 -05:00
Gary Gregory
105a350b15
Update POM version numbers for %commons_name% release %commons_version%
2021-02-26 14:15:40 -05:00
Gary Gregory
73e0dfc494
No need to embedded if test.
2021-02-25 18:46:33 -05:00
Gary Gregory
9e0b31180d
Drop init to defaults.
2021-02-25 18:37:19 -05:00
Gary Gregory
9ac45f0efc
Add missing Javadoc.
2021-02-25 18:08:18 -05:00
Gary Gregory
038696c154
Add missing Javadoc.
2021-02-25 18:05:17 -05:00
Gary Gregory
813b1a5c34
Use own validator ObjectUtils.anyNull to check null String input #718 .
2021-02-25 09:44:30 -05:00