Commit Graph

6850 Commits

Author SHA1 Message Date
Gary Gregory 1fed20b531 Add and document @SuppressWarnings 2022-05-30 08:59:02 -04:00
Gary Gregory 254e0f1da8 Remove unnecessary @SuppressWarnings 2022-05-30 08:54:23 -04:00
Gary Gregory 803aa24db0 Add missing serialVersionUID declarations in tests 2022-05-30 08:49:50 -04:00
Gary Gregory 6ebaad61fe Fix test 2022-05-29 17:41:36 -04:00
Gary Gregory 308b28a478 Fix test 2022-05-29 17:10:12 -04:00
Gary Gregory d1b750eaca Javadoc 2022-05-28 14:03:15 -04:00
Gary Gregory 8a6a5d9ebc Fix Javadoc, use ternary expressions, use Objects instead of Validate,
format fix
2022-05-28 13:59:39 -04:00
Gary Gregory 16de452a37 Add DurationUtils.of(FailableConsumer|FailableRunnbale) 2022-05-28 09:02:02 -04:00
Gary Gregory eb2bc4d3b7 Remove @SuppressWarnings("unchecked") 2022-05-28 07:58:24 -04:00
Gary Gregory 25000a62f4 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2022-05-28 07:53:41 -04:00
Gary Gregory 247cae4896 Better Javadoc 2022-05-28 07:53:27 -04:00
Gary Gregory 65fb650380
Fix unstable coverage of CharSequenceUtils tests noticed during merge of PRs 898 and 899 #901 2022-05-27 14:18:16 -04:00
Steve Bosman 91d157f74e
Fix unstable coverage of CharSequenceUtils tests noticed during merge of PRs 898 and 899 (#901) 2022-05-27 14:17:19 -04:00
Alex Herbert d8cea4d1f4 Track changes 2022-05-27 16:19:38 +01:00
Alex Herbert e274e6b6c7 Formatting 2022-05-27 16:19:29 +01:00
Arturo Bernal cf7c9522aa Rewrite method to be the same as binaryToHexDigit but working from the end of the array backwards. 2022-05-27 16:17:41 +01:00
Gary Gregory 6eb223bb8c Add DurationUtils.since(Temporal) 2022-05-27 10:21:53 -04:00
Gary Gregory a88dda4b74 Better constant name. 2022-05-26 16:59:08 -04:00
Gary Gregory 385df6f9f8 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2022-05-26 16:57:50 -04:00
Gary Gregory b134387206
Increase method test coverage of MultilineRecursiveToStringStyle #899 2022-05-26 16:57:31 -04:00
Steve Bosman 31998ee36c
Increase method test coverage of MultilineRecursiveToStringStyle (#899) 2022-05-26 16:56:40 -04:00
Arturo Bernal 8b7539432c Fix javadoc. Remove unused @param. 2022-05-27 07:35:45 +12:00
Gary Gregory 0bf7b5380f Set permissions to read for coverage 2022-05-26 12:10:11 -04:00
Gary Gregory fc1736edc4
Increase test coverage of ComparableUtils from 71% to 100% #898. 2022-05-26 09:44:46 -04:00
Steve Bosman f7c338b0fc
Increase test coverage of ComparableUtils from 71% to 100% (#898) 2022-05-26 09:43:02 -04:00
Gary Gregory 3a0ba3c6ea Bump org.junit-pioneer:junit-pioneer from 1.7.0 to 1.7.1 2022-05-26 08:33:46 -04:00
Gary Gregory 1f6bd19af2 Bump maven-javadoc-plugin from 3.3.2 to 3.4.0 2022-05-26 08:28:14 -04:00
Gary Gregory e68454ff61 Bump commons.jacoco.version from 0.8.7 to 0.8.8 2022-05-26 08:27:13 -04:00
Gary Gregory f9439b5b9c Add coverage.yml 2022-05-26 08:26:13 -04:00
Gary Gregory 3e67d33d25 Add coverage.yml 2022-05-26 08:22:58 -04:00
Bruno P. Kinoshita 8c2284cb8f
Revert #896 (#897) 2022-05-22 07:23:14 -04:00
dependabot[bot] 90086a212d Bump spotbugs-maven-plugin from 4.6.0.0 to 4.7.0.0
Bumps [spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin) from 4.6.0.0 to 4.7.0.0.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-4.6.0.0...spotbugs-maven-plugin-4.7.0.0)

---
updated-dependencies:
- dependency-name: com.github.spotbugs:spotbugs-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-21 11:02:04 +12:00
Bruno P. Kinoshita b9f3b72c15 Add Spotbugs exclusions after dependabot update (no code modification) 2022-05-21 10:51:28 +12:00
dependabot[bot] 8c10c03443 Bump spotbugs from 4.6.0 to 4.7.0
Bumps [spotbugs](https://github.com/spotbugs/spotbugs) from 4.6.0 to 4.7.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.6.0...4.7.0)

---
updated-dependencies:
- dependency-name: com.github.spotbugs:spotbugs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-21 10:51:28 +12:00
Varun Sharma 711782470f ci: add GitHub token permissions 2022-05-20 16:24:18 +12:00
Gary Gregory 9f1ac974e1 Add @SuppressWarnings("unchecked") 2022-05-15 18:11:47 -04:00
Gary Gregory 07f4eaaddd Use IllegalArgumentException llke the reset of the method. 2022-05-15 17:01:59 -04:00
Gary Gregory f813045283 [Spotbugs 4.7.0] More precise exception handling, don't throw
RuntimeException, use our own UncheckedException.
2022-05-15 16:21:49 -04:00
Gary Gregory af157c49d5 Fix, lambda & in-line single use variable that cannot be null. 2022-05-15 16:01:00 -04:00
Gary Gregory cbe3523b12 Remove prefix from instance variable names. 2022-05-15 15:54:49 -04:00
Gary Gregory 25e91c4242 Move new internal Calendar APIs to CalendarUtils and refactor. 2022-05-15 15:51:31 -04:00
Gary Gregory eff43864b3 [LANG-1680] FastDateFormat does not support the 'L'-Pattern from
SimpleDateFormat.

- Use final.
- Fix typos.
- In-line single use local variables.
2022-05-15 15:22:50 -04:00
Steve Bosman 127869e88f
LANG-1680 Add support for standalone month formats (#892) 2022-05-15 15:13:41 -04:00
Gary Gregory a2ed219fb8 Internal refactoring to allow to chain calls using
MemberUtils.setAccessibleWorkaround().
2022-05-10 18:35:20 -04:00
Gary Gregory 54f00795a3 Fix Javadoc. 2022-05-10 18:26:55 -04:00
Gary Gregory 663c806ee9 Fix Javadoc. 2022-05-10 16:29:07 -04:00
Gary Gregory 2a22770183 Remove unnecessary @SuppressWarnings("unchecked") 2022-05-09 08:47:38 -04:00
Gary Gregory 80889fc45c
Minor changes #769 2022-05-04 10:52:24 -04:00
Arturo Bernal d5ff609743
* Inline var (#769)
* Simplify conditions
* Make final variable
2022-05-04 10:51:41 -04:00
Gary Gregory 4ef1e3db99 Add BooleanUtilsTest tests.
Add testXor_primitive_validInput_1items().
Add testXor_object_validInput_1items().
2022-05-04 10:40:10 -04:00