Commit Graph

5860 Commits

Author SHA1 Message Date
Gary Gregory d4ccd259d9 [LANG-1568] More checked andThen() implementations to mirror the JRE
functional interfaces.
2020-06-24 20:10:46 -04:00
Gary Gregory 47fb776792 [LANG-1568]
org.apache.commons.lang3.function.FailableConsumer.andThen(FailableConsumer<?
super T, E>)
2020-06-24 18:40:25 -04:00
Gary Gregory c7aea90a7a [LANG-1568]
org.apache.commons.lang3.function.FailableBiFunction.andThen(FailableFunction<?
super R, ? extends V, E>)
2020-06-24 18:25:47 -04:00
Gary Gregory 4badcde7f7 [LANG-1568]
org.apache.commons.lang3.function.FailableBiConsumer.andThen(FailableBiConsumer<?
super T, ? super U, E>)
2020-06-24 17:03:17 -04:00
Gary Gregory e7c421ff35 [LANG-1568]
org.apache.commons.lang3.function.FailableBiConsumer.andThen(FailableBiConsumer<?
super T, ? super U, E>)
2020-06-24 17:02:35 -04:00
Gary Gregory 9173173699 [LANG-1568]
org.apache.commons.lang3.function.FailableBiConsumer.andThen(FailableBiConsumer<?
super T, ? super U, E>)
2020-06-24 16:58:52 -04:00
Gary Gregory 4cf50486a3 Use the same generic parameter names as the JRE. 2020-06-24 13:00:21 -04:00
Gary Gregory 1861ab9388 Use the same generic parameter names as the JRE. 2020-06-24 12:51:04 -04:00
Gary Gregory 43fe903cad com.github.spotbugs:spotbugs 4.0.5 -> 4.0.6.
commons.surefire.version 3.0.0-M4 -> 3.0.0-M5.
2020-06-24 12:50:17 -04:00
Gary Gregory cae8364d9e Use final. 2020-06-24 10:55:15 -04:00
Gary Gregory c5c839ff82 Whitespace. 2020-06-24 10:54:37 -04:00
Gary Gregory 05803b0d58 Add JavaVersion enum constants for Java 16.
Tested with:
openjdk version "16-ea" 2021-03-16
OpenJDK Runtime Environment (build 16-ea+2-35)
OpenJDK 64-Bit Server VM (build 16-ea+2-35, mixed mode, sharing)
2020-06-24 10:53:55 -04:00
Gary Gregory c10c62ed73 Fix boxing/unboxing. 2020-06-24 10:47:00 -04:00
Gary Gregory 94d5208dd9 Fix boxing/unboxing. 2020-06-24 10:44:46 -04:00
Gary Gregory fb184a7650 Clean up imports. 2020-06-24 10:43:04 -04:00
Gary Gregory c56c77ed95 Remove methods that will be new in 3.11 but which are now in the
function package.
2020-06-24 10:41:19 -04:00
Gary Gregory 1dddec8ba8 [LANG-1542] ToStringBuilder.reflectionToString - Wrong JSON format when
object has a List/Array of Enum.
2020-06-24 09:26:11 -04:00
Gary Gregory deb5f817af Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2020-06-24 08:50:07 -04:00
Gary Gregory f070987f5d [LANG-1567] Fix Javadocs for EqualsBuilder#setTestRecursive() #556. 2020-06-24 08:49:58 -04:00
Miguel Muñoz a7be33e9c6
Fixed Javadocs for setTestRecursive() (#556) 2020-06-24 08:46:21 -04:00
Gary Gregory dc54284ee7 Javadoc. 2020-06-24 08:44:16 -04:00
Gary Gregory a14b28923e Clean ups.
- Fix Javadoc
- Simplify error message
- Rmove on layer of API call.
2020-06-24 08:42:16 -04:00
Gary Gregory c26c72f8a8 Add ObjectUtils.toString(Object, Supplier<String>). 2020-06-23 15:15:38 -04:00
Gary Gregory 45b32d3a9c Sort members. 2020-06-23 15:10:54 -04:00
Gary Gregory 6315e8c138 Javadoc. 2020-06-23 14:22:46 -04:00
Gary Gregory 341aaa797d Added ImmutablePair factory methods left() and right(). 2020-06-23 11:07:22 -04:00
Gary Gregory 744da0e255 Update dependencies.
- org.apache.commons:commons-parent 50 -> 51
- biz.aQute.bnd:biz.aQute.bndlib 5.1.0 -> 5.1.1
- com.github.spotbugs:spotbugs 4.0.4 -> 4.0.5
2020-06-23 10:40:33 -04:00
Gary Gregory 5ffe008074 Undo "fix", @DefaultLocale is used in this test. 2020-06-22 09:32:10 -04:00
Gary Gregory 91dafbcea8 Fix typos. 2020-06-22 09:29:31 -04:00
Gary Gregory 64b2f90d20 Fix bug in test. 2020-06-22 09:28:58 -04:00
Gary Gregory b7b4ae33dc Formatting. 2020-06-22 09:15:29 -04:00
Gary Gregory 4d403b4ff3 Formatting. 2020-06-22 09:14:34 -04:00
Gary Gregory e291a601db Formatting. 2020-06-22 08:52:25 -04:00
Gary Gregory 6363fced4b Better method names. 2020-06-19 11:06:52 -04:00
Gary Gregory a33b86e61f Better method names. 2020-06-19 11:03:14 -04:00
Gary Gregory 45e38e91f9 Better method names. 2020-06-19 11:02:54 -04:00
Gary Gregory bb270696fd Tests are public by convention on Commons Lang. 2020-06-18 12:49:40 -04:00
Gary Gregory ed0f5bea11 Reimplement such that locking and unlocking take place in the same
method.
2020-06-18 12:48:46 -04:00
Gary Gregory f05c39b6e4 Use names that reflect the functional interface in use. 2020-06-18 12:36:00 -04:00
Gary Gregory d22f4e1e61 Clean up generics. 2020-06-18 08:16:51 -04:00
aherbert 4453bb3ede Fix @since for new o.a.c.lang3.stream.Streams class.
This replaces o.a.c.lang3.Streams.
2020-06-18 12:13:15 +01:00
aherbert 3302d5040b Correct code example in javadoc header 2020-06-18 12:10:20 +01:00
aherbert 5d675a0e29 Add skeleton package-info 2020-06-18 12:09:50 +01:00
aherbert 093dd682d2 Remove redundant import 2020-06-18 11:49:20 +01:00
aherbert f53ff8cc20 Checkstyle: new line at end of file 2020-06-18 11:48:12 +01:00
aherbert abf6899e07 Use upper case L on long declarations 2020-06-18 11:46:51 +01:00
aherbert 46acdde8bd Fix comment typos 2020-06-18 09:25:25 +01:00
Gary Gregory 8fcefb4f98 Centralize stream code in our own 'stream' package as
a parallel to the JRE's java.util.stream package.

- Re-implement use of failable function interfaces based on our function
package.
- Deprecate old class.
- Remove trainling whitespace.
2020-06-17 17:37:14 -04:00
Gary Gregory 724c00f0e8 Follow current style: @Test methods are public. 2020-06-17 17:16:19 -04:00
Gary Gregory e22a5ea87a Javadoc. 2020-06-17 17:13:40 -04:00