Commit Graph

5962 Commits

Author SHA1 Message Date
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
Dominik Schramm fde46a232d
Added 1 and 0 in toBooleanObject(final String str) (#502)
* Added 1 and 0 in toBooleanObject(String)

* Added 1 and 0 in toBooleanObject(String)

 - Documentation
 - Tests
2020-03-07 10:58:19 -05:00
Gary Gregory ba607f525b [LANG-1525] Internally use Validate.notNull(foo, ...) instead of
Validate.isTrue(foo != null, ...).
2020-03-06 11:08:22 -05:00
Gary Gregory 200d8e9745 [LANG-1523] Avoid unnecessary allocation in StringUtils.wrapIfMissing.
#496.
2020-03-04 09:13:58 -05:00
Edgar Asatryan e9d7afbe2b
[LANG-1523] Avoid unnecessary allocation in wrapIfMissing. (#496)
Now `StringUtils#wrapIfMissing(String, char)` and `StringUtils#wrapIfMissing(String, String)` does not allocate buffer when input is already wrapped.
2020-03-04 06:11:23 -08:00
Gary Gregory 94b3784fde Simpler NPE message for new method. 2020-02-22 18:33:04 -05:00
Gary Gregory 0f119ef2a6 Javadoc tweaks. 2020-02-22 09:21:57 -05:00
Gary Gregory 8e5b10a0b0 Add missing annotations. 2020-02-22 08:57:35 -05:00
Gary Gregory 0697258b6a Use lambda.
Fix formatting.
2020-02-22 08:56:50 -05:00
Gary Gregory 01175ec911 Use final. 2020-02-22 08:53:33 -05:00
Gary Gregory e182888fb7 Fix weird formatting. 2020-02-22 08:49:44 -05:00
Gary Gregory 62d5c1037f org.junit-pioneer:junit-pioneer 0.5.3 -> 0.5.4. 2020-02-22 08:39:18 -05:00
Gary Gregory b8499c108e [LANG-1518] MethodUtils.getAnnotation() with searchSupers = true does
not work if super is generic #494.
2020-02-22 08:32:02 -05:00
Michele Preti f4c2ed4995
LANG-1518 - fix searchSupers for generic classes (#494)
* fix searchSupers for generic classes

* fix checkstyle
2020-02-22 08:28:33 -05:00
Gary Gregory eb8d069089 Reuse own code in Functions.java #493. 2020-02-19 01:00:08 -05:00
Peter Verhas 179e8f4775
try to cleanup merging (#493) 2020-02-19 00:58:33 -05:00
Gary Gregory bd147ae86c Update build plugins and Javadoc link.
maven-pmd-plugin 3.12.0 -> 3.13.0.
maven-checkstyle-plugin -> 3.1.0 -> 3.1.1.
jacoco 0.8.4 -> 0.8.5.
commons.javadoc.version -> 3.1.0 -> 3.1.1.
commons.japicmp.version -> 0.14.1 -> 0.14.3.
ommons.surefire.version 3.0.0-M3 -> 3.0.0-M4.
Link to Java 8 Javadoc.
2020-02-17 13:13:57 -05:00
Gary Gregory a3edc1b6a6 [LANG-1433] MethodUtils will throw a NPE if invokeMethod() is called for
a var-args method #407.
2020-02-17 10:32:12 -05:00
Christian Franzen 553a0474ea
LANG-1433: MethodUtils will throw a NPE if invokeMethod() is called for a var-args method (#407)
* LANG-1433: MethodUtils will throw a NPE if invokeMethod() is called for a var-args method with null parameter value

* LANG-1433: Result of invokeMethod() is not deterministic for overloaded methods that can not be uniquly resolved from parameter types

* LANG-1433: Fixed checkstyle errors
2020-02-17 10:29:34 -05:00
Gary Gregory d3112e4306 ExceptionUtilsTest to 100% #486. 2020-02-17 10:19:17 -05:00
Peter Verhas 473c050cc9
Exceptionutilstest to 100p (#486)
* unit tests were added to top up the test coverage of ExceptionUtils to 100%

* unit tests were added to top up the test coverage of ExceptionUtils to 100%

* unit tests were added to top up the test coverage of ExceptionUtils to 100%

* unit tests were added to top up the test coverage of ExceptionUtils to 100%

* unit tests were added to top up the test coverage of ExceptionUtils to 100%
2020-02-17 10:13:27 -05:00
Gary Gregory f46f4e35c3 Don't prefix parameter names with 'p'. 2020-02-17 10:10:40 -05:00
Gary Gregory 7b62c8f6c9 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2020-02-17 10:00:08 -05:00