Gary Gregory
de3614e3dc
Use the scale in the var name.
2021-02-02 17:40:29 -05:00
Gary Gregory
3e27e51770
Bump junit-pioneer from 1.1.0 to 1.3.0 #702
2021-01-27 11:45:27 -05:00
dependabot[bot]
caaa3fb9bd
Bump junit-pioneer from 1.1.0 to 1.3.0 ( #702 )
...
Bumps [junit-pioneer](https://github.com/junit-pioneer/junit-pioneer ) from 1.1.0 to 1.3.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.1.0...v1.3.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-27 11:44:10 -05:00
Gary Gregory
6b03fe54b8
Javadoc: Sentences end in a period.
2021-01-22 13:41:06 -05:00
Gary Gregory
0b135af5a0
Make private elements final where possible.
2021-01-17 16:48:52 -05:00
Gary Gregory
dddd8c4e26
Use isEmpty().
2021-01-16 22:30:34 -05:00
Gary Gregory
c7c74e936d
Fix Checkstyle suppressions DTD link.
2021-01-11 12:18:00 -05:00
Gary Gregory
ad84785d9d
Fix Checkstyle configuration DTD link.
2021-01-11 12:09:50 -05:00
Gary Gregory
ddae550848
Update com.github.siom79.japicmp:japicmp-maven-plugin 0.15.1 -> 0.15.2.
2021-01-08 11:30:40 -05:00
Gary Gregory
f5ce8c408a
Reuse JRE Arrays.fill().
2021-01-06 21:01:32 -05:00
Gary Gregory
e739844b11
Remove unused import.
2021-01-06 15:59:14 -05:00
Gary Gregory
41564884df
[LANG-1637] Fix 2 digit week year formatting #688
2021-01-06 15:53:10 -05:00
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