Uri Gonen
63f644daa8
[LANG-1637] Fix 2 digit week year formatting ( #688 )
...
* LANG-1637: fix 2 digit week year formatting
* LANG-1637: added test cases for Y & YYY patterns
* LANG-1637: added test cases for Y & YYY patterns
* LANG-1637: added test cases for Y & YYY patterns
2021-01-06 15:51:14 -05:00
Gary Gregory
2a8356cd43
Replace StringBuilder with StringJoiner in join() APIs.
2021-01-06 14:40:29 -05:00
Gary Gregory
8f92211d35
[LANG-1636] Add missing boolean[] join method #686
2021-01-06 11:09:22 -05:00
Arturo Bernal
8dc37dc4a7
LANG-1636 - Boolean Join Function ( #686 )
2021-01-06 11:01:13 -05:00
Gary Gregory
1d0422c909
Bump spotbugs-maven-plugin from 4.1.4 to 4.2.0 #692
2021-01-06 10:24:39 -05:00
dependabot[bot]
9f6e57364f
Bump spotbugs-maven-plugin from 4.1.4 to 4.2.0 ( #692 )
...
Bumps [spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin ) from 4.1.4 to 4.2.0.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases )
- [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-4.1.4...spotbugs-maven-plugin-4.2.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-06 09:41:02 -05:00
Gary Gregory
3ba01073f6
Rename private class nad make it final; pre-compute hashcode, fix NPE
...
compiler warning.
Javadoc: No need for paragraph tags for the 1st and only sentence.
Format code to line length 120.
2021-01-03 11:51:25 -05:00
Gary Gregory
7f8897faba
Processor.java: check enum euqality with == instead of .equals() method
...
#690 .
2021-01-03 11:14:28 -05:00
Ali K. Nouri
43b926eef8
Processor.java: check enum euqality with == instead of .equals() method ( #690 )
2021-01-03 11:12:45 -05:00
Gary Gregory
e6e1682089
Replace cascading if-else's with a case statement.
2021-01-03 11:08:27 -05:00
Gary Gregory
4892703095
Pick up the default from the parent POM.
2021-01-02 10:18:52 -05:00
Gary Gregory
1948d987db
Remove dead comments.
2021-01-01 13:44:31 -05:00
Gary Gregory
876543f6cc
Add JavaVersion.JAVA_17 now that Java 17-ea is out.
2021-01-01 13:44:01 -05:00
Gary Gregory
a36b59c6f8
CLean up odds and ends.
...
- Use EMPTY constant.
- Move a guard clause down to the implementating method from wrapper
method.
- Remove dead comments.
- Remove duplicate null check.
- Remove duplicate empty-string check.
- Use Charsets.toCharset).
2021-01-01 13:34:56 -05:00
Gary Gregory
1068e2a308
Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git
2021-01-01 11:12:16 -05:00
Gary Gregory
733768a6d9
Add recent macOS versions.
...
macOS 10.12 Sierra
macOS 10.13 High Sierra
macOS 10.14 Mojave
macOS 10.15 Catalina
macOS 10.16 Big Sur (a.k.a. 11.0, 11.1)
2021-01-01 11:12:07 -05:00
dependabot[bot]
c033ee2fef
Bump checkstyle from 8.38 to 8.39 ( #689 )
...
Bumps [checkstyle](https://github.com/checkstyle/checkstyle ) from 8.38 to 8.39.
- [Release notes](https://github.com/checkstyle/checkstyle/releases )
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.38...checkstyle-8.39 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-01 09:47:22 -05:00
Gary Gregory
f5c86f6d4e
Update commons.japicmp.version 0.14.4 -> 0.15.1.
2020-12-31 02:27:57 -05:00
Gary Gregory
b5680c55f3
Add Java 17-EA to the GitHub build.
2020-12-29 19:13:52 -05:00
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