Commit Graph

6227 Commits

Author SHA1 Message Date
Gary Gregory 3e86896c13 Format. 2020-07-11 16:54:07 -04:00
Gary Gregory ff4ef533a5 Redo this class after Rob Tompkins found a bug.
Much simpler now as well.
2020-07-11 16:39:14 -04:00
Gary Gregory ac1070e84e Update POM version numbers for Apache Commons Lang release 3.11 2020-07-10 19:32:01 -04:00
Gary Gregory ab627f97bc Prepare for 3.11-RC1. 2020-07-10 19:29:13 -04:00
Gary Gregory 2296d0bb14 Fix Javadoc. 2020-07-10 12:11:01 -04:00
Gary Gregory d5c29230d8 [LANG-1539] Add allNull() and anyNull() methods to ObjectUtils. #522. 2020-07-10 11:57:58 -04:00
Gary Gregory 1a77a547dd
Add allNull() and anyNull() methods to ObjectUtils, as well as their associated tests. (#522) 2020-07-10 11:56:01 -04:00
Gary Gregory 4f9be0faab Checkstyle. 2020-07-10 11:49:00 -04:00
Gary Gregory 265b74aac7 Format new class. 2020-07-10 11:47:45 -04:00
Isira Seneviratne ee6c682ed5 Add allNull() and anyNull() methods to ObjectUtils, as well as their associated tests. 2020-07-10 09:53:26 +05:30
Gary Gregory 1fc15b43d4 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2020-07-09 21:27:56 -04:00
Gary Gregory 9dbabe2494 Correct Javadocs of methods that use Validate.notNull() and replace some
uses of Validate.isTrue() with Validate.notNull(). #525.
2020-07-09 21:27:42 -04:00
Isira Seneviratne 3700641b4e
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.
2020-07-09 21:26:19 -04:00
XenoAmess 031f4f61b7
refine travis-ci scripts (#531)
Cache Maven's .m2 folder.
2020-07-09 08:57:12 -04:00
Gary Gregory 039c5293a1 Clean up after merge. Class rename and package rename did not come
through.
2020-07-09 08:38:19 -04:00
Gary Gregory 3243638167
Stamped lock visitor (#559)
Co-authored-by: Gary Gregory <gardgregory@gmail.com>
2020-07-09 08:28:25 -04:00
Gary Gregory 32a9a350c6 org.junit.jupiter:junit-jupiter 5.6.1 -> 5.6.2. 2020-07-04 09:45:02 -04:00
Gary Gregory 065662fcf3 com.puppycrawl.tools:checkstyle 8.33 -> 8.34. 2020-07-04 09:42:32 -04:00
Gary Gregory ad433ecc16 Make internal API null-safe and Javadoc. 2020-07-01 17:21:55 -04:00
Gary Gregory 954338a152 Sort 2 methods. 2020-07-01 17:07:09 -04:00
Gary Gregory da0f6a8051 Refactor SpotBugs implementation version into spotbugs.impl.version. 2020-06-28 15:45:50 -04:00
Gary Gregory f89a85b051 [LANG-1543] [JSON string for maps] ToStringBuilder.reflectionToString
doesnt render nested maps correctly.
2020-06-28 09:49:12 -04:00
Gary Gregory 5e71a4add5 [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.
2020-06-28 09:40:45 -04:00
Gary Gregory 4063df71c3 [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.
2020-06-28 09:38:52 -04:00
Gary Gregory 062bc6fe7d Add Add org.apache.commons.lang3.StringUtils.substringAfterLast(String,
int).
2020-06-27 09:32:30 -04:00
Gary Gregory 75fa90e96c Use final. 2020-06-27 09:24:58 -04:00
Gary Gregory d68a7a4189 Add org.apache.commons.lang3.StringUtils.substringAfter(String, int). 2020-06-27 09:24:06 -04:00
Gary Gregory 1621a23d2b Make org.apache.commons.lang3.CharSequenceUtils.toCharArray(CharSequence)
public.
2020-06-26 15:32:13 -04:00
Gary Gregory 10f6a80c96 No need to nest. 2020-06-26 15:31:00 -04:00
Gary Gregory bb017e0d4d JRE locks live in a ...concurrent.locks package so let's put our lock
code in our own ...concurrent.locks.
2020-06-26 14:35:14 -04:00
Gary Gregory 46a081d69c Javadocs, imports. 2020-06-26 10:33:37 -04:00
Gary Gregory d18fb1abdf JRE locks live in a ...concurrent.lock package so let's put our lock
code in our own ...concurrent.lock
2020-06-26 09:04:17 -04:00
Rob Tompkins eee51821a8 fix: nit in my changes.xml formatting 2020-06-26 06:15:23 -04:00
Rob Tompkins e5108df458 Thanks Jin for refining the test output for FastDateParserTest
Signed-off-by: Rob Tompkins <chtompki@apache.org>
2020-06-26 06:12:51 -04:00
Rob Tompkins c79e548fc4 Merge branch 'fix_FastDateParserTest' of https://github.com/XenoAmess/commons-lang 2020-06-26 06:00:05 -04:00
Rob Tompkins e0cfe47b77 Merge branch 'master' of github.com:apache/commons-lang into LANG-1549 2020-06-26 05:54:12 -04:00
Jochen Wiedmann bf7aa89ca4 Adding Javadocs for the Locks.Lock class. Improvements in the test suite. 2020-06-26 05:53:15 -04:00
Rob Tompkins acaf458278 LANG-1549: Thanks Jin 2020-06-26 05:52:48 -04:00
XenoAmess e04966a612 refine tests 2020-06-26 05:52:48 -04:00
XenoAmess 249d9e4744 refine tests 2020-06-26 05:52:48 -04:00
XenoAmess a9dea5e5c4 refine tests 2020-06-26 05:52:48 -04:00
XenoAmess d02958ca09 refine tests 2020-06-26 05:52:48 -04:00
XenoAmess bbc2e7ee85 refine tests 2020-06-26 05:52:48 -04:00
XenoAmess 00ecd339bd fix checkstyle 2020-06-26 05:52:48 -04:00
XenoAmess 73438e431e fix checkstyle 2020-06-26 05:52:48 -04:00
XenoAmess 05724b2baa reformat test 2020-06-26 05:52:48 -04:00
XenoAmess 217da1e6aa implement lastIndexOf 2020-06-26 05:52:48 -04:00
XenoAmess dee8f6fb84 implement lastIndexOf 2020-06-26 05:52:48 -04:00
XenoAmess 68cb8af7e4 Revert "performance improve."
This reverts commit 3b05b95a
2020-06-26 05:52:48 -04:00
XenoAmess 3ef823e8e1 performance improve. 2020-06-26 05:52:48 -04:00