Commit Graph

8355 Commits

Author SHA1 Message Date
Gary Gregory 034fa63a15 Test builder and deprecated constructor 2024-11-05 14:04:19 -05:00
Gary Gregory 6c50a6e567 Fix compiler warnings 2024-11-05 10:00:55 -05:00
Gary Gregory 56006a6cd7 Add ReflectionDiffBuilderTest.testBigDecimalDifference()
- 2.0 is not equal to 2.00, see BigDecimal#equals()
- Add ReflectionDiffBuilderTest.testBigIntegerDifference()
2024-11-05 09:54:36 -05:00
Gary Gregory 40d59120f2 Sort methods 2024-11-05 09:49:23 -05:00
Gary Gregory 55c796c615 Normalize test method names to camel-case 2024-11-05 09:48:59 -05:00
Gary Gregory 8343062fa4 Update ReflectionDiffBuilderTest.TypeTestClass
- Add a BigDecimal field
- Add a BigInteger field
2024-11-05 09:41:00 -05:00
Gary Gregory 25dff141ee Add EqualsBuilderTest.testBigDecimal()
Add EqualsBuilderTest.testBigInteger()
2024-11-05 09:16:49 -05:00
Gary Gregory 3a8293af2b @DefaultTimeZone should not be needed 2024-11-05 06:33:20 -05:00
Gary Gregory 80e6a67649 Add CalendarUtils.toLocalDate() #725 2024-11-05 06:31:03 -05:00
Gary Gregory fa668ef0d9 Use preferred spelling for "cannot" 2024-11-05 05:56:02 -05:00
Gary Gregory f878fba9cf Normalize Javadoc first sentence in LocaleUtils 2024-11-04 15:25:01 -05:00
Gary Gregory d08dc8bbf4 Fix Javadoc typo 2024-11-04 15:23:56 -05:00
Gary Gregory 4686f8bfac Javadoc 2024-11-04 15:11:21 -05:00
Gary Gregory be295f9493 More precise test failure message 2024-11-04 15:10:15 -05:00
Gary Gregory d98b39cbcf Add ArrayUtilsTest.testContainsAnyEnum() 2024-11-04 09:32:51 -05:00
Gary Gregory 4e228a5350 Fix StackOverflowError in TypeUtils.typeVariableToString(TypeVariable),
TypeUtils.toString(Type)

- https://issues.apache.org/jira/projects/LANG/issues/LANG-1698
- Happens on Java 17 and up
- Tested locally on Java 8, 17, 21, and 23
2024-11-04 09:19:05 -05:00
Gary Gregory 6681a34d25 Merge branch 'master' of
https://gitbox.apache.org/repos/asf/commons-lang.git
2024-11-03 11:24:32 -05:00
Gary Gregory af1598229f [LANG-1757] NullPointerException in
MethodUtils.getMatchingAccessibleMethod(Class<?>, String, Class<?>...)
2024-11-03 11:23:36 -05:00
Gary Gregory fb45bd7f2c Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2024-11-02 17:27:45 -04:00
Gary Gregory d8faf082bb Fix NullPointerException in
FastDateParser.TimeZoneStrategy.setCalendar(FastDateParser, Calendar,
String) on Java 23

- Tested locally on Java 8, 17, and 23
- Javadoc
2024-11-02 17:27:35 -04:00
dependabot[bot] 7deea03f90
Bump actions/dependency-review-action from 4.3.5 to 4.4.0 (#1309)
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.3.5 to 4.4.0.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](a6993e2c61...4081bf99e2)

---
updated-dependencies:
- dependency-name: actions/dependency-review-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>
2024-11-02 10:37:03 -04:00
Gary Gregory 0d0dd5aa5f Only run actions/dependency-review-action on pull_request 2024-11-01 07:33:33 -04:00
Gary Gregory 85f91f4208 Add ArrayUtils.containsAny(int[], int...)
Add IntStrams.of(int...)
2024-10-31 10:50:50 -04:00
Gary Gregory 62b5acac4c Javadoc 2024-10-31 10:25:20 -04:00
Gary Gregory 6b1da52c9a Javadoc 2024-10-31 10:18:29 -04:00
dependabot[bot] c5d7554dcb
Bump actions/cache from 4.1.1 to 4.1.2 (#1303)
Bumps [actions/cache](https://github.com/actions/cache) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](3624ceb22c...6849a64899)

---
updated-dependencies:
- dependency-name: actions/cache
  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>
2024-10-25 14:49:00 -04:00
dependabot[bot] 34b7672f3f
Bump actions/dependency-review-action from 4.3.4 to 4.3.5 (#1305)
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.3.4 to 4.3.5.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](5a2ce3f5b9...a6993e2c61)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  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>
2024-10-25 14:37:02 -04:00
dependabot[bot] 810ac9e48e
Bump actions/checkout from 4.2.1 to 4.2.2 (#1306)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](eef61447b9...11bd71901b)

---
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>
2024-10-25 14:36:51 -04:00
dependabot[bot] eb83a2f3a0
Bump github/codeql-action from 3.26.13 to 3.27.0 (#1307)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.13 to 3.27.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](f779452ac5...662472033e)

---
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>
2024-10-25 14:36:40 -04:00
dependabot[bot] 4cf7166377
Bump actions/setup-java from 4.4.0 to 4.5.0 (#1304)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](b36c23c0d9...8df1039502)

---
updated-dependencies:
- dependency-name: actions/setup-java
  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>
2024-10-25 14:36:28 -04:00
Gary Gregory 702c6c29a0 The exec-maven-plugin version is specified in the plugin management
section
2024-10-22 13:11:09 -04:00
Gary Gregory e31ebabcab
Bump org.apache.commons:commons-parent from 77 to 78 #1302 2024-10-22 10:47:14 -04:00
dependabot[bot] 5d18a177c6
Bump org.apache.commons:commons-parent from 77 to 78 (#1302)
Bumps [org.apache.commons:commons-parent](https://github.com/apache/commons-parent) from 77 to 78.
- [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>
2024-10-22 10:46:44 -04:00
Gary Gregory 7ab4de7c27
Bump org.codehaus.mojo:taglist-maven-plugin from 3.1.0 to 3.2.1 #1300 2024-10-18 12:25:55 -04:00
dependabot[bot] a397665f03
Bump org.codehaus.mojo:taglist-maven-plugin from 3.1.0 to 3.2.1 (#1300)
Bumps [org.codehaus.mojo:taglist-maven-plugin](https://github.com/mojohaus/taglist-maven-plugin) from 3.1.0 to 3.2.1.
- [Release notes](https://github.com/mojohaus/taglist-maven-plugin/releases)
- [Commits](https://github.com/mojohaus/taglist-maven-plugin/compare/3.1.0...3.2.1)

---
updated-dependencies:
- dependency-name: org.codehaus.mojo:taglist-maven-plugin
  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>
2024-10-18 12:25:08 -04:00
dependabot[bot] 64bf039551
Bump github/codeql-action from 3.26.12 to 3.26.13 (#1301)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.12 to 3.26.13.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](c36620d31a...f779452ac5)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2024-10-18 12:24:57 -04:00
Gary Gregory f36bcadeae
[LANG-1682] Javadoc and test: Use Strings.CI.startsWithAny method instead #1299 2024-10-16 13:35:58 -04:00
Capt. Cutlass f51f015e3d
[LANG-1682] Javadoc and test: Use Strings.CI.startsWithAny method instead (#1299)
* test: add case-insensitive tests for startsWithAny method

* docs: revise javadoc to describe case-sensitivity
2024-10-16 13:34:39 -04:00
Gary Gregory c330b890b9
Use simplified JUnit assertion methods #1298 2024-10-16 07:54:04 -04:00
Capt. Cutlass 2a208cf03e
Use simplified JUnit assertion methods (#1298)
* test: use simplified assertion methods

* test: deprecate test classes for deprecated source classes

* build: remove unused mockito-core dependency

da246244ae
2024-10-16 07:53:02 -04:00
Gary Gregory 05d7fdb32b
[LANG-1753] StringUtils.replaceEachRepeatedly regression in 3.11+ #1297 2024-10-15 13:32:43 -04:00
Capt. Cutlass 972aa7b29a
fix: default ttl in recursive replacement (#1297)
https://issues.apache.org/jira/browse/LANG-1753
2024-10-15 13:31:23 -04:00
Gary Gregory bd25bdcf80 Fix broken URL to project location in Maven Central #1296 2024-10-14 07:33:39 -04:00
Gary Gregory e852e8088e Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2024-10-14 06:40:10 -04:00
Capt. Cutlass 5059d190d9
docs: fix broken URL to project location in Maven Central (#1296) 2024-10-13 21:54:17 -04:00
Gary Gregory 798caa4e51 Add LongRange.toLongStream() 2024-10-13 10:34:04 -04:00
Gary Gregory 4830e09b1c Javadoc 2024-10-13 10:31:27 -04:00
Gary Gregory 8f952dfda5 Javadoc 2024-10-13 10:30:59 -04:00
Gary Gregory 84bbae308d Add missing words to action descriptions 2024-10-13 10:30:03 -04:00
Gary Gregory c64cf94516 Add IntegerRange.toIntStream() 2024-10-13 10:29:43 -04:00