Commit Graph

5984 Commits

Author SHA1 Message Date
John Patrick 115a6c64bc StreamsTest junit-jupiter 2020-06-01 23:43:02 +12:00
Jochen Wiedmann 3d4ed4a8ac Fixing Checkstyle warnings.
Closes #532.
2020-05-31 22:18:02 +02:00
Gary Gregory f544897e49 Test major Java versions with GitHub actions as documented on
https://github.com/actions/setup-java
# WARNING: head commit changed in the meantime

@Deprecated
2020-05-30 11:00:18 -04:00
Jochen Wiedmann c141bc961c Adding the Locks class. 2020-05-28 22:52:46 +02:00
Gary Gregory 71ee021ca5 [LANG-1545] CharSequenceUtils.regionMatches is wrong dealing with
Georgian.
2020-05-25 09:48:20 -04:00
XenoAmess 2c7e5e4b29
[LANG-1545] CharSequenceUtils.regionMatches is wrong dealing with Georgian. (#529)
* CharSequenceUtils.regionMatches is wrong dealing with Georgian.
see details in tests.
* refine tests
2020-05-25 09:41:18 -04:00
Gary Gregory c0d0d4f3ea Update com.github.spotbugs:spotbugs from 4.0.2 to 4.0.3.
Update com.puppycrawl.tools:checkstyle from 8.31 to 8.32.
2020-05-24 11:19:42 -04:00
Gary Gregory 84a80552b8 Update org.junit-pioneer:junit-pioneer from 0.5.6 to 0.6.0. 2020-05-24 11:13:00 -04:00
Gary Gregory 4db2896750 The next release will be 3.11. 2020-05-24 11:07:18 -04:00
Gary Gregory daa4193fb2 Add ArrayUtils.isSameLength() to compare more array types #430. 2020-05-24 11:05:21 -04:00
Gary Gregory f692351035 - com.github.spotbugs:spotbugs 4.0.0 -> 4.0.2.
- com.puppycrawl.tools:checkstyle 8.29 -> 8.31.
2020-04-20 17:23:31 -04:00
Gary Gregory 299736554a spotbugs.plugin.version 4.0.0 -> 4.0.2. 2020-04-20 17:13:50 -04:00
Gary Gregory 7c754d9c1e (Javadoc) Fix return tag for throwableOf*() methods #518. 2020-04-20 17:10:42 -04:00
Arend v. Reinersdorff 22500d11ae
(doc) Fix throwable is returned, not index (#518) 2020-04-20 17:08:55 -04:00
Gary Gregory d8ebaf932d Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2020-04-20 16:58:26 -04:00
Gary Gregory 9388c5747f [LANG-1534] Replace some usages of the ternary operator with calls to
Math.max() and Math.min() #512.
2020-04-20 16:58:20 -04:00
Isira Seneviratne 44d4acc621
Simplify some usages of the ternary operator with calls to Math.max() and Math.min(). (#512) 2020-04-20 16:57:41 -04:00
Gary Gregory 271cf4c9e9 [LANG-1537] Simplify a null check in the private replaceEach() method of
StringUtils. #514.
2020-04-20 16:56:02 -04:00
Isira Seneviratne 0b899ee40b
Simplify a null check in the private replaceEach() method. (#514) 2020-04-20 16:54:33 -04:00
Gary Gregory 96caf42b31 Simplify some if statements in StringUtils. #521. 2020-04-20 16:53:29 -04:00
Isira Seneviratne 675d30d882
Simplify some if statements in StringUtils. (#521)
* Simplify if-else statements at the start of abbreviate().

* Combine if statements in abbreviateMiddle().

* Simplify the first if condition of substringBetween().

* Simplify the first if condition of stripAll().
2020-04-20 16:52:56 -04:00
Gary Gregory f13f787a66 Simplify null checks in Triple.hashCode() using Objects.hashCode().
#516.
2020-04-20 16:44:29 -04:00
Gary Gregory c25de73d21 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2020-04-20 16:43:58 -04:00
Isira Seneviratne c7ab53f9e3
Simplify null checks in Triple.hashCode() using Objects.hashCode(). (#516) 2020-04-20 16:43:46 -04:00
Gary Gregory a1531bcd1e Simplify null checks in Pair.hashCode() using Objects.hashCode(). #517. 2020-04-20 10:12:21 -04:00
Isira Seneviratne d7f8dcedfa
Simplify null checks in Pair.hashCode() using Objects.hashCode(). (#517) 2020-04-20 10:10:39 -04:00
Bruno P. Kinoshita 7f45b8898b
Merge pull request #519 from Isira-Seneviratne/Correct_assertions_in_CharUtilsTest
Alter assertions in CharUtilsTest to get the class of CharUtils instead of BooleanUtils.
2020-04-20 09:40:21 +12:00
Isira Seneviratne d94d76bbec Alter assertions to get the class of CharUtils instead of BooleanUtils. 2020-04-19 21:12:57 +05:30
Gary Gregory e9225d05b2 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2020-04-17 09:15:09 -04:00
Gary Gregory 6265e2ea3b Format tweaks. 2020-04-17 09:06:52 -04:00
Bruno P. Kinoshita d82301acbd
Merge pull request #511 from Isira-Seneviratne/Fix_StringUtils_Javadoc
Fix some spelling and grammar issues in the StringUtils Javadoc.
2020-04-17 22:23:20 +12:00
Isira Seneviratne 9949212b92 Fix some spelling and grammar issues in the StringUtils Javadoc. 2020-04-17 12:10:18 +05:30
Gary Gregory cfe457636a - org.junit-pioneer:junit-pioneer 0.5.4 -> 0.5.6.
- org.junit.jupiter:junit-jupiter 5.6.0 -> 5.6.1.
2020-04-07 11:10:27 -04:00
Gary Gregory e389ce1edc Missed an update for 3.9 to 3.10. 2020-04-07 10:09:55 -04:00
Gary Gregory d8a6c6745b Missed an update for 3.9 to 3.10. 2020-04-07 09:39:29 -04:00
Gary Gregory 312a7b3bb1 Fix Javdoc for StringUtils.appendIfMissingIgnoreCase() #507. 2020-03-31 10:35:47 -04:00
Stanislav U fbcde48f8f
Fix typo in StringUtils's Java-Doc. (#507) 2020-03-31 10:34:12 -04:00
Gary Gregory 9747b14469 Standardize on American English spelling of 'behavior'. 2020-03-30 15:03:29 -04:00
Gary Gregory 36c4cc67a1 Lambdas. 2020-03-29 17:30:29 -04:00
Gary Gregory 8c1153d371 Add download page link. 2020-03-28 10:17:10 -04:00
Gary Gregory 7a9c09161d Bump to next development version 2020-03-28 10:02:28 -04:00
Gary Gregory e0b474c0d0 Update POM version numbers for Apache Commons Lang release 3.10 2020-03-23 09:14:11 -04:00
Gary Gregory e3a7399a7d Prepare for 3.10 RC1. 2020-03-23 09:10:49 -04:00
Gary Gregory 055c20ab98 [LANG-1529] Deprecate
org.apache.commons.lang3.ArrayUtils.removeAllOccurences(*) for
org.apache.commons.lang3.ArrayUtils.removeAllOccurrences(*).

Closes #492.
2020-03-22 09:29:45 -04:00
pascalschumacher 93701c9ad7 Replace Java 12 and 13 builds with Java 14. 2020-03-21 15:26:48 +01:00
pascalschumacher 346f52e2ee Update Spotbugs Maven Plugin to version 4.0.0. 2020-03-21 15:23:39 +01:00
Gary Gregory 1c42dfb057 Clean ups. 2020-03-19 10:00:46 -04:00
Gary Gregory 6240c11f22 [LANG-1527] NumberUtils.createBigDecimal has a redundant argument check. 2020-03-15 16:37:58 -04:00
Prodigysov 02732d6132
LANG-1527: Remove an redundant argument check in NumberUtils. (#504) 2020-03-15 16:34:25 -04:00
Gary Gregory 893cc1512b [LANG-1526] Add 1 and 0 in toBooleanObject(final String str) #502. 2020-03-10 16:49:06 -04:00