Commit Graph

7196 Commits

Author SHA1 Message Date
Gary Gregory f909f466e3 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2023-07-02 10:38:02 -04:00
Gary Gregory b773899854 Inline single-use local variable 2023-07-02 10:32:25 -04:00
Gary Gregory 3c02dfc467
Update Javadoc for the insert methods in ArrayUtils #1078. 2023-07-02 10:21:34 -04:00
Gary Gregory 3e5edfdf02
Update Javadoc for the insert methods in ArrayUtils #1078 2023-07-02 10:20:59 -04:00
Dimitrios Efthymiou 6f0043e21a
updated the JavaDoc for the insert methods to say the methods return also null if the input array is null (#1078) 2023-07-02 10:16:39 -04:00
dependabot[bot] 39fdca2da5
Bump ossf/scorecard-action from 2.1.3 to 2.2.0 (#1073)
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.1.3 to 2.2.0.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](80e868c13c...08b4669551)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-30 13:07:56 -04:00
dependabot[bot] 353e9fdbd4
Bump github/codeql-action from 2.1.22 to 2.20.1 (#1074)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.22 to 2.20.1.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2.1.22...f6e388ebf0efc915c6c5b165b019ee61a6746a38)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-30 13:07:41 -04:00
Gary Gregory f4665d0bc6 [StepSecurity] ci: Harden GitHub Actions #1067 2023-06-24 17:09:05 -04:00
StepSecurity Bot e04a53dda3
[StepSecurity] ci: Harden GitHub Actions (#1067)
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
2023-06-24 17:08:11 -04:00
Gary Gregory 68f58dc1ca
[LANG-1699] Corrected value of SystemUtils.JAVA_VENDOR #1066 2023-06-15 12:18:55 -04:00
Darren Coleman def9f76bca
LANG-1699: Corrected value of SystemUtils.JAVA_VENDOR (#1066) 2023-06-15 12:13:31 -04:00
dependabot[bot] c646f494bb
Bump actions/checkout from 3.5.2 to 3.5.3 (#1064)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.2 to 3.5.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](8e5e7e5ab8...c85c95e3d7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-09 12:41:08 -04:00
Gary Gregory 2b42b185f0
[LANG-1677] Add ReflectionDiffBuilder.setExcludeFieldNames(...) and DiffExclude a… #838 2023-06-04 14:35:11 -04:00
Baerten Dennis f51299ced4
LANG-1677 : Add ReflectionDiffBuilder.setExcludeFieldNames(...) and DiffExclude a… (#838)
* LANG-1677 : Make it possible to exclude fields in ReflectionDiffBuilder

* Fix Javadoc typo

* Javadoc

* Javadoc

---------

Co-authored-by: Gary Gregory <garydgregory@users.noreply.github.com>
2023-06-04 14:30:40 -04:00
Gary Gregory 119623760e
Add comment 2023-06-03 07:36:42 -04:00
Gary Gregory ebcb39a62f Bump commons-parent from 57 to 58 2023-05-25 16:12:51 -04:00
Gary Gregory 8f08dedc11 Grammar 2023-05-24 13:31:07 -04:00
Gary Gregory ad710950a2 Javadoc, in-line comment, and messages typos 2023-05-19 08:59:46 -04:00
Gary Gregory 9e404e5eb8 Javadoc typos 2023-05-19 08:50:53 -04:00
Gary Gregory 8eef2fc922 Add Pair.accept(FailableBiConsumer)
Add Pair.apply(FailableBiFunction)
2023-05-06 15:43:58 -04:00
Gary Gregory 02e55fc072 Better consumer Javadocs 2023-05-06 14:01:43 -04:00
Gary Gregory 0755a190a5
Bump commons-parent from 56 to 57 #1061 2023-04-27 10:21:24 -04:00
dependabot[bot] 5a825de27d
Bump commons-parent from 56 to 57 (#1061)
Bumps [commons-parent](https://github.com/apache/commons-parent) from 56 to 57.
- [Release notes](https://github.com/apache/commons-parent/releases)
- [Changelog](https://github.com/apache/commons-parent/blob/master/RELEASE-NOTES.txt)
- [Commits](https://github.com/apache/commons-parent/commits)

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-parent
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-27 10:20:32 -04:00
Alex Herbert 283d37ea68 Remove assertion that assumes an x86 architecture.
This fails the build on alternative architectures, e.g. aarch64 (ARM
architecture family).
2023-04-23 09:07:28 +01:00
Gary Gregory f6e237d4ee Avoid underscores in local variable names 2023-04-20 09:10:58 -04:00
徐梦旗 67c6450b61
Refactor rename variable "hex_prefixes" to "hexPrefixes" (#1059) 2023-04-20 09:00:51 -04:00
Gary Gregory 7d7e8af450 Better common primitives as getters 2023-04-19 16:47:08 -04:00
Gary Gregory 6cca6ff4a5 Better name 2023-04-19 15:18:27 -04:00
Gary Gregory 16c34b222d Add support for Java 9's "java.locale.providers" in SystemProperties
Add most common primitives as getters
2023-04-19 15:17:45 -04:00
Gary Gregory cdcd915d02 Format: "catch(" -> "catch (" 2023-04-19 07:33:39 -04:00
Gary Gregory df64310a69 Fix XML syntax 2023-04-18 08:57:02 -04:00
Gary Gregory 5a18bf28ac Use modern maven-antrun-plugin configurtation 2023-04-18 08:56:31 -04:00
Gary Gregory f0e5dcffe2
Remove unnecessary statement in DurationFormatUtils #965 2023-04-18 08:45:40 -04:00
Arturo Bernal 65ac1e9f88
Remove unnecessary conditions. It's no need it after assigns tmp to duration. (#965) 2023-04-18 08:43:43 -04:00
Gary Gregory ee7afc5c2d Javadoc 2023-04-18 08:35:05 -04:00
Gary Gregory 5a0eed4f38
[LANG-1681] Fix some FieldUtils Javadocs #1047 2023-04-17 09:00:51 -04:00
laurentschoelens f19416ae37
[LANG-1681] - fix some javadoc on FieldUtils methods (#1047)
* [LANG-1681] - fix some javadoc on FieldUtils methods

* [LANG-1681] - fixing javadoc on FieldUtils methods and adding tests

[LANG-1681] - fixing javadoc on DiffBuilder

[LANG-1681] - fixing javadoc on HashCodeBuilder

[LANG-1681] - adding `@throws` javadoc on ClassPathUtils

[LANG-1681] - fixing javadoc on Fraction

[LANG-1681] - add missing javadoc and tests on RandomStringUtils

[LANG-1681] - one fix and add missing javadoc/tests on MethodUtils

[LANG-1681] - add missing javadoc/tests on TypeUtils

---------

Co-authored-by: Laurent SCHOELENS <laurent.schoelens@sfr.com>
Co-authored-by: Diego Marcilio <dvmarcilio@gmail.com>
2023-04-17 08:58:49 -04:00
Gary Gregory 860a343217
AnnotationUtilsTest & FormattableUtilsTest Only use static imports to import assert methods in tests #1052 2023-04-17 08:56:44 -04:00
徐梦旗 c6b68f43d5
refactor: Only use static imports to import assert methods in tests (#1052) 2023-04-17 08:56:10 -04:00
aherbert f054284048 Track changes 2023-04-17 13:23:43 +01:00
徐梦旗 f59fa5c36d
Fix the comment of ComparableUtils, using "smallest", not "largest" (#1058) 2023-04-17 13:22:01 +01:00
徐梦旗 4623bf1827
Fix the comment of Failable, redundant "-" (#1056) 2023-04-17 13:20:11 +01:00
Gary Gregory 2d82a504ab
Swap the order of assertion args (first excepted then actual) #1054 2023-04-14 15:32:30 -04:00
徐梦旗 dd49aa9d1f
fix: swap the order of assertion args (first excepted then actual) (#1054) 2023-04-14 15:31:39 -04:00
dependabot[bot] ac17f1ed7e Bump actions/checkout from 3.5.0 to 3.5.2
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.0 to 3.5.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](8f4b7f8486...8e5e7e5ab8)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-14 18:52:10 +02:00
Gary Gregory c7d7a20767 Only use static imports to import assert methods in tests 2023-04-13 20:20:19 -04:00
Gary Gregory 2694f28774
ThreadUtilsTest#testThreadGroups will test failed when using Junit5 parallel test #1051 2023-04-13 20:08:54 -04:00
徐梦旗 e2b2d90b60
fix: when running testThreadGroups and testThreadGroupsById in two threads, they have the same thread group name, will cause test failed. (#1051) 2023-04-13 20:07:14 -04:00
Michael Ernst 7b15f3e61d Update URL for JDK bug 2023-04-10 21:50:23 +02:00
Gary Gregory fee35ddc14 Add SystemUtils.IS_JAVA_20 2023-04-01 11:53:21 -04:00