commons-lang.git
23 months agoPrepare for 3.11-RC2. commons-lang-3.11-RC2 rel/commons-lang-3.11
Gary Gregory [Sun, 12 Jul 2020 13:19:13 +0000 (09:19 -0400)] 
Prepare for 3.11-RC2.

23 months agoMerge branch 'master' into release
Gary Gregory [Sun, 12 Jul 2020 13:00:30 +0000 (09:00 -0400)] 
Merge branch 'master' into release

23 months agoPrepare for 3.11-RC2.
Gary Gregory [Sun, 12 Jul 2020 12:59:56 +0000 (08:59 -0400)] 
Prepare for 3.11-RC2.

23 months ago(docs) minor nits and whitespace addions for readability
Rob Tompkins [Sun, 12 Jul 2020 12:43:32 +0000 (08:43 -0400)] 
(docs) minor nits and whitespace addions for readability

23 months ago(docs) Add citations to LockingVisitors javadoc
Rob Tompkins [Sun, 12 Jul 2020 12:14:24 +0000 (08:14 -0400)] 
(docs) Add citations to LockingVisitors javadoc

23 months ago(docs) formatting nit
Rob Tompkins [Sat, 11 Jul 2020 21:24:29 +0000 (17:24 -0400)] 
(docs) formatting nit

23 months agoWhitespace and lambda clean ups.
Gary Gregory [Sat, 11 Jul 2020 21:21:25 +0000 (17:21 -0400)] 
Whitespace and lambda clean ups.

23 months agoAdded missing Javadoc and tweaked another Javadoc.
Gary Gregory [Sat, 11 Jul 2020 21:16:31 +0000 (17:16 -0400)] 
Added missing Javadoc and tweaked another Javadoc.

23 months agoFormat.
Gary Gregory [Sat, 11 Jul 2020 20:54:07 +0000 (16:54 -0400)] 
Format.

23 months agoRedo this class after Rob Tompkins found a bug.
Gary Gregory [Sat, 11 Jul 2020 20:39:14 +0000 (16:39 -0400)] 
Redo this class after Rob Tompkins found a bug.

Much simpler now as well.

23 months agoUpdate POM version numbers for Apache Commons Lang release 3.11 commons-lang-3.11-RC1
Gary Gregory [Fri, 10 Jul 2020 23:32:01 +0000 (19:32 -0400)] 
Update POM version numbers for Apache Commons Lang release 3.11

23 months agoPrepare for 3.11-RC1.
Gary Gregory [Fri, 10 Jul 2020 23:29:13 +0000 (19:29 -0400)] 
Prepare for 3.11-RC1.

23 months agoFix Javadoc.
Gary Gregory [Fri, 10 Jul 2020 16:11:01 +0000 (12:11 -0400)] 
Fix Javadoc.

23 months ago[LANG-1539] Add allNull() and anyNull() methods to ObjectUtils. #522.
Gary Gregory [Fri, 10 Jul 2020 15:57:58 +0000 (11:57 -0400)] 
[LANG-1539] Add allNull() and anyNull() methods to ObjectUtils. #522.

23 months agoAdd allNull() and anyNull() methods to ObjectUtils, as well as their associated tests...
Gary Gregory [Fri, 10 Jul 2020 15:56:01 +0000 (11:56 -0400)] 
Add allNull() and anyNull() methods to ObjectUtils, as well as their associated tests. (#522)

23 months agoCheckstyle.
Gary Gregory [Fri, 10 Jul 2020 15:49:00 +0000 (11:49 -0400)] 
Checkstyle.

23 months agoFormat new class.
Gary Gregory [Fri, 10 Jul 2020 15:47:45 +0000 (11:47 -0400)] 
Format new class.

23 months agoAdd allNull() and anyNull() methods to ObjectUtils, as well as their associated tests. 522/head
Isira Seneviratne [Mon, 20 Apr 2020 03:07:38 +0000 (08:37 +0530)] 
Add allNull() and anyNull() methods to ObjectUtils, as well as their associated tests.

23 months agoMerge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git
Gary Gregory [Fri, 10 Jul 2020 01:27:56 +0000 (21:27 -0400)] 
Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git

23 months agoCorrect Javadocs of methods that use Validate.notNull() and replace some
Gary Gregory [Fri, 10 Jul 2020 01:27:42 +0000 (21:27 -0400)] 
Correct Javadocs of methods that use Validate.notNull() and replace some
uses of Validate.isTrue() with Validate.notNull(). #525.

23 months agoCorrect Javadocs of methods that use Validate.notNull() and replace some uses of...
Isira Seneviratne [Fri, 10 Jul 2020 01:26:19 +0000 (01:26 +0000)] 
Correct Javadocs of methods that use Validate.notNull() and replace some uses of Validate.isTrue() with Validate.notNull(). (#525)

* Update Javadocs of methods that call Validate.notNull() to refer to NullPointerException instead of IllegalArgumentException for null values.

* Use Validate.notNull() instead of Validate.isTrue() to check for null values, and update the associated tests to check for NullPointerException instead of IllegalArgumentException.

23 months agorefine travis-ci scripts (#531)
XenoAmess [Thu, 9 Jul 2020 12:57:12 +0000 (20:57 +0800)] 
refine travis-ci scripts (#531)

Cache Maven's .m2 folder.

23 months agoClean up after merge. Class rename and package rename did not come
Gary Gregory [Thu, 9 Jul 2020 12:38:19 +0000 (08:38 -0400)] 
Clean up after merge. Class rename and package rename did not come
through.

23 months agoStamped lock visitor (#559)
Gary Gregory [Thu, 9 Jul 2020 12:28:25 +0000 (08:28 -0400)] 
Stamped lock visitor (#559)

Co-authored-by: Gary Gregory <gardgregory@gmail.com>
23 months agoorg.junit.jupiter:junit-jupiter 5.6.1 -> 5.6.2.
Gary Gregory [Sat, 4 Jul 2020 13:45:02 +0000 (09:45 -0400)] 
org.junit.jupiter:junit-jupiter 5.6.1 -> 5.6.2.

23 months agocom.puppycrawl.tools:checkstyle 8.33 -> 8.34.
Gary Gregory [Sat, 4 Jul 2020 13:42:32 +0000 (09:42 -0400)] 
com.puppycrawl.tools:checkstyle 8.33 -> 8.34.

23 months agoMake internal API null-safe and Javadoc.
Gary Gregory [Wed, 1 Jul 2020 21:21:55 +0000 (17:21 -0400)] 
Make internal API null-safe and Javadoc.

23 months agoSort 2 methods.
Gary Gregory [Wed, 1 Jul 2020 21:07:09 +0000 (17:07 -0400)] 
Sort 2 methods.

23 months agoRefactor SpotBugs implementation version into spotbugs.impl.version.
Gary Gregory [Sun, 28 Jun 2020 19:45:50 +0000 (15:45 -0400)] 
Refactor SpotBugs implementation version into spotbugs.impl.version.

23 months ago[LANG-1543] [JSON string for maps] ToStringBuilder.reflectionToString
Gary Gregory [Sun, 28 Jun 2020 13:49:12 +0000 (09:49 -0400)] 
[LANG-1543] [JSON string for maps] ToStringBuilder.reflectionToString
doesnt render nested maps correctly.

23 months ago[LANG-1543] [JSON string for maps] ToStringBuilder.reflectionToString
Gary Gregory [Sun, 28 Jun 2020 13:40:45 +0000 (09:40 -0400)] 
[LANG-1543] [JSON string for maps] ToStringBuilder.reflectionToString
doesnt render nested maps correctly.

Apply a different version of the PR
https://github.com/apache/commons-lang/pull/561

Closes #561.

23 months ago[LANG-1543] [JSON string for maps] ToStringBuilder.reflectionToString
Gary Gregory [Sun, 28 Jun 2020 13:38:52 +0000 (09:38 -0400)] 
[LANG-1543] [JSON string for maps] ToStringBuilder.reflectionToString
doesnt render nested maps correctly.

Apply a different version of the PR
https://github.com/apache/commons-lang/pull/561

Closes #561.

2 years agoAdd Add org.apache.commons.lang3.StringUtils.substringAfterLast(String,
Gary Gregory [Sat, 27 Jun 2020 13:32:30 +0000 (09:32 -0400)] 
Add Add org.apache.commons.lang3.StringUtils.substringAfterLast(String,
int).

2 years agoUse final.
Gary Gregory [Sat, 27 Jun 2020 13:24:58 +0000 (09:24 -0400)] 
Use final.

2 years agoAdd org.apache.commons.lang3.StringUtils.substringAfter(String, int).
Gary Gregory [Sat, 27 Jun 2020 13:24:06 +0000 (09:24 -0400)] 
Add org.apache.commons.lang3.StringUtils.substringAfter(String, int).

2 years agoMake org.apache.commons.lang3.CharSequenceUtils.toCharArray(CharSequence)
Gary Gregory [Fri, 26 Jun 2020 19:32:13 +0000 (15:32 -0400)] 
Make org.apache.commons.lang3.CharSequenceUtils.toCharArray(CharSequence)
public.

2 years agoNo need to nest.
Gary Gregory [Fri, 26 Jun 2020 19:31:00 +0000 (15:31 -0400)] 
No need to nest.

2 years agoJRE locks live in a ...concurrent.locks package so let's put our lock
Gary Gregory [Fri, 26 Jun 2020 18:35:14 +0000 (14:35 -0400)] 
JRE locks live in a ...concurrent.locks package so let's put our lock
code in our own ...concurrent.locks.

2 years agoJavadocs, imports.
Gary Gregory [Fri, 26 Jun 2020 14:33:37 +0000 (10:33 -0400)] 
Javadocs, imports.

2 years agoJRE locks live in a ...concurrent.lock package so let's put our lock
Gary Gregory [Fri, 26 Jun 2020 13:04:17 +0000 (09:04 -0400)] 
JRE locks live in a ...concurrent.lock package so let's put our lock
code in our own ...concurrent.lock

2 years agofix: nit in my changes.xml formatting
Rob Tompkins [Fri, 26 Jun 2020 10:15:23 +0000 (06:15 -0400)] 
fix: nit in my changes.xml formatting

2 years agoThanks Jin for refining the test output for FastDateParserTest
Rob Tompkins [Fri, 26 Jun 2020 10:12:51 +0000 (06:12 -0400)] 
Thanks Jin for refining the test output for FastDateParserTest

Signed-off-by: Rob Tompkins <chtompki@apache.org>
2 years agoMerge branch 'fix_FastDateParserTest' of https://github.com/XenoAmess/commons-lang
Rob Tompkins [Fri, 26 Jun 2020 10:00:05 +0000 (06:00 -0400)] 
Merge branch 'fix_FastDateParserTest' of https://github.com/XenoAmess/commons-lang

2 years agoMerge branch 'master' of github.com:apache/commons-lang into LANG-1549
Rob Tompkins [Fri, 26 Jun 2020 09:54:12 +0000 (05:54 -0400)] 
Merge branch 'master' of github.com:apache/commons-lang into LANG-1549

2 years agoAdding Javadocs for the Locks.Lock class. Improvements in the test suite.
Jochen Wiedmann [Fri, 26 Jun 2020 09:51:06 +0000 (11:51 +0200)] 
Adding Javadocs for the Locks.Lock class. Improvements in the test suite.

2 years agoLANG-1549: Thanks Jin
Rob Tompkins [Fri, 26 Jun 2020 09:49:12 +0000 (05:49 -0400)] 
LANG-1549: Thanks Jin

2 years agorefine tests
XenoAmess [Mon, 1 Jun 2020 12:10:07 +0000 (20:10 +0800)] 
refine tests

2 years agorefine tests
XenoAmess [Mon, 1 Jun 2020 10:08:49 +0000 (18:08 +0800)] 
refine tests

2 years agorefine tests
XenoAmess [Mon, 1 Jun 2020 10:03:12 +0000 (18:03 +0800)] 
refine tests

2 years agorefine tests
XenoAmess [Mon, 1 Jun 2020 09:35:50 +0000 (17:35 +0800)] 
refine tests

2 years agorefine tests
XenoAmess [Mon, 1 Jun 2020 09:17:52 +0000 (17:17 +0800)] 
refine tests

2 years agofix checkstyle
XenoAmess [Sun, 31 May 2020 21:59:32 +0000 (05:59 +0800)] 
fix checkstyle

2 years agofix checkstyle
XenoAmess [Sun, 31 May 2020 21:53:04 +0000 (05:53 +0800)] 
fix checkstyle

2 years agoreformat test
XenoAmess [Sun, 31 May 2020 18:30:19 +0000 (02:30 +0800)] 
reformat test

2 years agoimplement lastIndexOf
XenoAmess [Sun, 31 May 2020 18:26:14 +0000 (02:26 +0800)] 
implement lastIndexOf

2 years agoimplement lastIndexOf
XenoAmess [Sun, 31 May 2020 17:51:43 +0000 (01:51 +0800)] 
implement lastIndexOf

2 years agoRevert "performance improve."
XenoAmess [Sun, 31 May 2020 17:16:19 +0000 (01:16 +0800)] 
Revert "performance improve."

This reverts commit 3b05b95a

2 years agoperformance improve.
XenoAmess [Sun, 31 May 2020 16:48:14 +0000 (00:48 +0800)] 
performance improve.

2 years agoperformance improve.
XenoAmess [Sun, 31 May 2020 16:46:58 +0000 (00:46 +0800)] 
performance improve.

2 years agoAdding Javadocs for the Locks.Lock class. Improvements in the test suite.
Jochen Wiedmann [Fri, 26 Jun 2020 09:51:06 +0000 (11:51 +0200)] 
Adding Javadocs for the Locks.Lock class. Improvements in the test suite.

2 years agoMerge branch 'master' of https://github.com/apache/commons-lang into fix_FastDatePars... 558/head
XenoAmess [Fri, 26 Jun 2020 08:55:41 +0000 (16:55 +0800)] 
Merge branch 'master' of https://github.com/apache/commons-lang into fix_FastDateParserTest

2 years agorefine tests
XenoAmess [Fri, 26 Jun 2020 08:54:16 +0000 (16:54 +0800)] 
refine tests

2 years ago[LANG-1568] Javadoc.
Gary Gregory [Thu, 25 Jun 2020 17:57:28 +0000 (13:57 -0400)] 
[LANG-1568] Javadoc.

2 years ago[LANG-1568] Predicate or.
Gary Gregory [Thu, 25 Jun 2020 14:52:37 +0000 (10:52 -0400)] 
[LANG-1568] Predicate or.

2 years ago[LANG-1568] Predicate add.
Gary Gregory [Thu, 25 Jun 2020 14:42:13 +0000 (10:42 -0400)] 
[LANG-1568] Predicate add.

2 years ago[LANG-1568] Predicate negation and clean ups.
Gary Gregory [Thu, 25 Jun 2020 14:29:57 +0000 (10:29 -0400)] 
[LANG-1568] Predicate negation and clean ups.

2 years ago[LANG-1568] Predicate negation.
Gary Gregory [Thu, 25 Jun 2020 14:19:10 +0000 (10:19 -0400)] 
[LANG-1568] Predicate negation.

2 years ago[LANG-1568] Complete FailableFunction.
Gary Gregory [Thu, 25 Jun 2020 13:44:22 +0000 (09:44 -0400)] 
[LANG-1568] Complete FailableFunction.

2 years ago[LANG-1568] Checktyle.
Gary Gregory [Thu, 25 Jun 2020 13:32:14 +0000 (09:32 -0400)] 
[LANG-1568] Checktyle.

2 years ago[LANG-1568] Javadoc.
Gary Gregory [Thu, 25 Jun 2020 13:17:49 +0000 (09:17 -0400)] 
[LANG-1568] Javadoc.

2 years ago[LANG-1568] FailableDoubleUnaryOperator, FailableIntUnaryOperator,
Gary Gregory [Thu, 25 Jun 2020 13:01:13 +0000 (09:01 -0400)] 
[LANG-1568] FailableDoubleUnaryOperator, FailableIntUnaryOperator,
FailableLongUnaryOperator.

2 years agoChecktyle.
Gary Gregory [Thu, 25 Jun 2020 12:46:50 +0000 (08:46 -0400)] 
Checktyle.

2 years ago[LANG-1568] Lambda clean ups.
Gary Gregory [Thu, 25 Jun 2020 00:28:44 +0000 (20:28 -0400)] 
[LANG-1568] Lambda clean ups.

2 years ago[LANG-1568] More checked andThen() implementations to mirror the JRE
Gary Gregory [Thu, 25 Jun 2020 00:10:46 +0000 (20:10 -0400)] 
[LANG-1568] More checked andThen() implementations to mirror the JRE
functional interfaces.

2 years ago[LANG-1568]
Gary Gregory [Wed, 24 Jun 2020 22:40:25 +0000 (18:40 -0400)] 
[LANG-1568]
org.apache.commons.lang3.function.FailableConsumer.andThen(FailableConsumer<?
super T, E>)

2 years ago[LANG-1568]
Gary Gregory [Wed, 24 Jun 2020 22:25:47 +0000 (18:25 -0400)] 
[LANG-1568]
org.apache.commons.lang3.function.FailableBiFunction.andThen(FailableFunction<?
super R, ? extends V, E>)

2 years ago[LANG-1568]
Gary Gregory [Wed, 24 Jun 2020 21:03:17 +0000 (17:03 -0400)] 
[LANG-1568]
org.apache.commons.lang3.function.FailableBiConsumer.andThen(FailableBiConsumer<?
super T, ? super U, E>)

2 years ago[LANG-1568]
Gary Gregory [Wed, 24 Jun 2020 21:02:35 +0000 (17:02 -0400)] 
[LANG-1568]
org.apache.commons.lang3.function.FailableBiConsumer.andThen(FailableBiConsumer<?
super T, ? super U, E>)

2 years ago[LANG-1568]
Gary Gregory [Wed, 24 Jun 2020 20:58:52 +0000 (16:58 -0400)] 
[LANG-1568]
org.apache.commons.lang3.function.FailableBiConsumer.andThen(FailableBiConsumer<?
super T, ? super U, E>)

2 years agoUse the same generic parameter names as the JRE.
Gary Gregory [Wed, 24 Jun 2020 17:00:21 +0000 (13:00 -0400)] 
Use the same generic parameter names as the JRE.

2 years agoUse the same generic parameter names as the JRE.
Gary Gregory [Wed, 24 Jun 2020 16:51:04 +0000 (12:51 -0400)] 
Use the same generic parameter names as the JRE.

2 years agocom.github.spotbugs:spotbugs 4.0.5 -> 4.0.6.
Gary Gregory [Wed, 24 Jun 2020 16:50:17 +0000 (12:50 -0400)] 
com.github.spotbugs:spotbugs 4.0.5 -> 4.0.6.
commons.surefire.version 3.0.0-M4 -> 3.0.0-M5.

2 years agoUse final.
Gary Gregory [Wed, 24 Jun 2020 14:55:15 +0000 (10:55 -0400)] 
Use final.

2 years agoWhitespace.
Gary Gregory [Wed, 24 Jun 2020 14:54:37 +0000 (10:54 -0400)] 
Whitespace.

2 years agoAdd JavaVersion enum constants for Java 16.
Gary Gregory [Wed, 24 Jun 2020 14:53:55 +0000 (10:53 -0400)] 
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)

2 years agoFix boxing/unboxing.
Gary Gregory [Wed, 24 Jun 2020 14:47:00 +0000 (10:47 -0400)] 
Fix boxing/unboxing.

2 years agoFix boxing/unboxing.
Gary Gregory [Wed, 24 Jun 2020 14:44:46 +0000 (10:44 -0400)] 
Fix boxing/unboxing.

2 years agoClean up imports.
Gary Gregory [Wed, 24 Jun 2020 14:43:04 +0000 (10:43 -0400)] 
Clean up imports.

2 years agoRemove methods that will be new in 3.11 but which are now in the
Gary Gregory [Wed, 24 Jun 2020 14:41:19 +0000 (10:41 -0400)] 
Remove methods that will be new in 3.11 but which are now in the
function package.

2 years ago[LANG-1542] ToStringBuilder.reflectionToString - Wrong JSON format when
Gary Gregory [Wed, 24 Jun 2020 13:26:11 +0000 (09:26 -0400)] 
[LANG-1542] ToStringBuilder.reflectionToString - Wrong JSON format when
object has a List/Array of Enum.

2 years agoMerge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git
Gary Gregory [Wed, 24 Jun 2020 12:50:07 +0000 (08:50 -0400)] 
Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git

2 years ago[LANG-1567] Fix Javadocs for EqualsBuilder#setTestRecursive() #556.
Gary Gregory [Wed, 24 Jun 2020 12:49:58 +0000 (08:49 -0400)] 
[LANG-1567] Fix Javadocs for EqualsBuilder#setTestRecursive() #556.

2 years agoFixed Javadocs for setTestRecursive() (#556)
Miguel Muñoz [Wed, 24 Jun 2020 12:46:21 +0000 (05:46 -0700)] 
Fixed Javadocs for setTestRecursive() (#556)

2 years agoJavadoc.
Gary Gregory [Wed, 24 Jun 2020 12:44:16 +0000 (08:44 -0400)] 
Javadoc.

2 years agoClean ups.
Gary Gregory [Wed, 24 Jun 2020 12:42:16 +0000 (08:42 -0400)] 
Clean ups.

- Fix Javadoc
- Simplify error message
- Rmove on layer of API call.

2 years agoAdd ObjectUtils.toString(Object, Supplier<String>).
Gary Gregory [Tue, 23 Jun 2020 19:15:38 +0000 (15:15 -0400)] 
Add ObjectUtils.toString(Object, Supplier<String>).

2 years agoSort members.
Gary Gregory [Tue, 23 Jun 2020 19:10:54 +0000 (15:10 -0400)] 
Sort members.

2 years agoJavadoc.
Gary Gregory [Tue, 23 Jun 2020 18:22:46 +0000 (14:22 -0400)] 
Javadoc.

2 years agoAdded ImmutablePair factory methods left() and right().
Gary Gregory [Tue, 23 Jun 2020 15:07:22 +0000 (11:07 -0400)] 
Added ImmutablePair factory methods left() and right().

2 years agoUpdate dependencies.
Gary Gregory [Tue, 23 Jun 2020 14:40:33 +0000 (10:40 -0400)] 
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