Gary Gregory
9801f93d47
Update commons.japicmp.version 0.14.3 -> 0.14.4.
2020-12-29 18:54:45 -05:00
Gary Gregory
cd013c9239
Use less mysterious names.
2020-12-29 13:23:19 -05:00
Gary Gregory
8aff0a08f2
Show Java version in assertion failure message.
2020-12-29 11:45:04 -05:00
Gary Gregory
5157875ce5
Javadoc to make is easier to use your IDE to jump to the method.
2020-12-29 11:41:49 -05:00
Arturo Bernal
9fa1d734f6
LANG-1631 - Check if the char to be searched is defined ( #682 )
2020-12-27 12:05:33 -05:00
Gary Gregory
45bec219d2
Add FailableShortSupplier, handy for JDBC APIs.
2020-12-24 10:02:37 -05:00
Gary Gregory
b5bb3e6d3a
Fix test method names.
2020-12-23 20:05:48 -05:00
Gary Gregory
157ba27be7
Minor internal clean ups. Add and use constants.
2020-12-23 10:24:13 -05:00
Gary Gregory
b1da31ef40
Simplify Javadocs.
2020-12-23 10:03:31 -05:00
Gary Gregory
31ede5565b
Use final.
2020-12-22 16:07:02 -05:00
Gary Gregory
44b0bb5273
Use ArraySorter.
2020-12-22 16:06:55 -05:00
Gary Gregory
5aab41b365
Update for new class.
2020-12-22 15:20:10 -05:00
Gary Gregory
ad69874a78
[LANG-1544] MethodUtils.invokeMethod NullPointerException in case of
...
null in args list #680 .
2020-12-22 15:16:41 -05:00
Gary Gregory
2d97e0daf8
[LANG-1544] MethodUtils.invokeMethod NullPointerException in case of
...
null in args list #680 .
2020-12-22 15:13:37 -05:00
Michael Buck
fb6a7e7788
[LANG-1544] MethodUtils.invokeMethod NullPointerException in case of null in args list ( #680 )
...
* LANG-1544:
- Null guards in place to handle one or more nulls specified as one of the parameters of the method to invoke.
- Check for an exact match of the actual parameter types against all of the methods on the class. This prevents picking an "upcasted" method (i.e. int specified but a method with a double is chosen).
- Throw an IllegalStateException with a helpful message if multiple candidate methods were found. This happens when multiple Methods had the same "distance" from the desired parameter types. Before this change the algorithm would just chose the first one.
- Tests for the above.
Co-authored-by: mike.buck@pb.com <mike.buck@pb.com>
2020-12-22 15:12:14 -05:00
Gary Gregory
f22dbf0399
Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git
2020-12-22 15:03:29 -05:00
Gary Gregory
1b96fc1494
Correct markup in Javadoc for unbalanced braces #679 .
2020-12-22 10:28:54 -05:00
Felix Schumacher
0a4505fa97
Correct markup in javadoc for unbalanced braces ( #679 )
...
Use <code>{</code> instead of {@code {}, as the latter one is
invalid. It works onn the current javadoc, as it is accompanied
with the equally invalid closing statement {@code }}, which
balances the used braces in the @code fragements and combines
the first invalid statement with the last one.
2020-12-22 10:26:31 -05:00
Gary Gregory
b4456352bc
Move new sort methods to a new class and add primitive versions.
...
This avoid growing ArrayUtils even more while keeping the new class
focused on sort APIs.
2020-12-21 16:43:30 -05:00
Gary Gregory
c9e825e823
Add and use LocaleUtils.toLocale(Locale) to avoid NPEs and use the
...
default locale when an input locale is null.
2020-12-21 12:56:19 -05:00
Gary Gregory
b5de0ef280
Sort members.
2020-12-21 12:26:32 -05:00
LeeJuHyun
1f2003041b
[LANG-1629] Delete white space ( #678 )
2020-12-21 12:21:40 -05:00
Gary Gregory
d704c0dc70
Fix spelling in comment.
2020-12-20 13:23:54 -05:00
Bruno P. Kinoshita
bed6b1128d
Merge branch 'pr-674'
...
This closes #674
2020-12-20 08:59:21 +13:00
dependabot[bot]
2f60e45087
Bump jmh.version from 1.21 to 1.27
...
Bumps `jmh.version` from 1.21 to 1.27.
Updates `jmh-core` from 1.21 to 1.27
Updates `jmh-generator-annprocess` from 1.21 to 1.27
Signed-off-by: dependabot[bot] <support@github.com>
2020-12-20 08:58:45 +13:00
Bruno P. Kinoshita
413c5f8e89
Merge branch 'pr-677'
...
This closes #677
2020-12-20 08:43:26 +13:00
Bruno P. Kinoshita
e0de3be47c
[LANG-1628] changelog
2020-12-20 08:42:48 +13:00
avijitchakraborty85@gmail.com
123606371b
[LANG-1628] Javadoc correction for RandomStringUtils.random() letters, numbers parameters
2020-12-20 08:40:57 +13:00
Gary Gregory
55570e8ef7
Fix spelling.
2020-12-17 14:39:47 -05:00
Gary Gregory
e9647813f7
Fix spelling.
2020-12-17 14:39:09 -05:00
Gary Gregory
615eee5d51
[LANG-1626] Correction in Javadoc of some methods. #673 .
2020-12-11 00:05:27 -05:00
Kanak Sony
efbfd2de97
[LANG-1626] Correction in Javadoc of some methods. ( #673 )
...
1) Found Javadoc examples in ArrayUtils.addFirst() incorrectly refer to add() at 9 places.
2) Basic code format in 3 files from time package.
2020-12-11 00:03:30 -05:00
Gary Gregory
55e0776408
Bump spotbugs from 4.1.4 to 4.2.0 #671 .
2020-12-10 15:13:00 -05:00
dependabot[bot]
ef6b0aa05c
Bump spotbugs from 4.1.4 to 4.2.0 ( #671 )
...
Bumps [spotbugs](https://github.com/spotbugs/spotbugs ) from 4.1.4 to 4.2.0.
- [Release notes](https://github.com/spotbugs/spotbugs/releases )
- [Changelog](https://github.com/spotbugs/spotbugs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spotbugs/spotbugs/compare/4.1.4...4.2.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-10 15:11:12 -05:00
Gary Gregory
041cf552c5
[LANG-1580] Refine StringUtils.deleteWhitespace #569 .
2020-12-05 12:31:42 -05:00
XenoAmess
5a17dc7ad3
refine deleteWhitespace ( #569 )
2020-12-05 12:30:42 -05:00
Gary Gregory
eaebffb59a
Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git
2020-12-05 12:29:04 -05:00
Gary Gregory
0532e10668
[LANG-1584] Refine StringUtils.isNumericSpace #573
2020-12-05 12:28:58 -05:00
XenoAmess
ea8428ab75
[LANG-1584] Refine StringUtils.isNumericSpace ( #573 )
...
* refine isNumericSpace
* fix same issues in other two functions
2020-12-05 12:24:22 -05:00
Gary Gregory
902a0faab4
[LANG-1620] Refine StringUtils.lastIndexOfIgnoreCase #664 .
...
[LANG-1619] Refine StringUtils.abbreviate #663 .
2020-12-05 12:22:28 -05:00
Arturo Bernal
dd7f02feac
LANG-1619 - refine StringUtils.abbreviate ( #663 )
2020-12-05 12:20:00 -05:00
Arturo Bernal
76443d7f1d
LANG-1620 - refine StringUtils.lastIndexOfIgnoreCase ( #664 )
2020-12-05 12:16:31 -05:00
Gary Gregory
edcf9344e6
Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git
2020-12-05 11:24:44 -05:00
Gary Gregory
f9f4c09fd7
Document third party bumps.
...
- Bump checkstyle from 8.37 to 8.38 #665 .
- Bump junit-pioneer from 1.0.0 to 1.1.0 #662 .
- Bump maven-pmd-plugin from 3.13.0 to 3.14.0 #660 .
2020-12-05 11:24:31 -05:00
dependabot[bot]
5569432c4e
Bump maven-pmd-plugin from 3.13.0 to 3.14.0 ( #660 )
...
Bumps [maven-pmd-plugin](https://github.com/apache/maven-pmd-plugin ) from 3.13.0 to 3.14.0.
- [Release notes](https://github.com/apache/maven-pmd-plugin/releases )
- [Commits](https://github.com/apache/maven-pmd-plugin/compare/maven-pmd-plugin-3.13.0...maven-pmd-plugin-3.14.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-05 11:22:49 -05:00
dependabot[bot]
d05119a9b9
Bump junit-pioneer from 1.0.0 to 1.1.0 ( #662 )
...
Bumps [junit-pioneer](https://github.com/junit-pioneer/junit-pioneer ) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/junit-pioneer/junit-pioneer/releases )
- [Changelog](https://github.com/junit-pioneer/junit-pioneer/blob/master/docs/release-notes.md )
- [Commits](https://github.com/junit-pioneer/junit-pioneer/compare/v1.0.0...v1.1.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-05 11:22:15 -05:00
dependabot[bot]
434f6fc5ab
Bump checkstyle from 8.37 to 8.38 ( #665 )
...
Bumps [checkstyle](https://github.com/checkstyle/checkstyle ) from 8.37 to 8.38.
- [Release notes](https://github.com/checkstyle/checkstyle/releases )
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.37...checkstyle-8.38 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-05 11:21:07 -05:00
Gary Gregory
605f59d869
[LANG-1622] Corrected reference to right methods. #667 .
2020-12-05 11:20:34 -05:00
Kanak Sony
603c55895f
[LANG-1622] Javadoc of some methods incorrectly refers to another method ( #670 )
2020-12-05 11:20:04 -05:00
Gary Gregory
c008f4d895
[LANG-1622] Corrected reference to right methods. #667 .
2020-12-05 11:18:47 -05:00