This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch 1.X in repository https://gitbox.apache.org/repos/asf/commons-beanutils.git
The following commit(s) were added to refs/heads/1.X by this push: new 9232ebb7 Commit to try and fix GH build which passes locally 9232ebb7 is described below commit 9232ebb73c5ccf4001bd2577659594067e927f68 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Tue Mar 25 10:33:26 2025 -0400 Commit to try and fix GH build which passes locally --- .github/workflows/maven.yml | 6 +++--- .../java/org/apache/commons/beanutils/ConvertUtilsTestCase.java | 5 ++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index ae3f62d9..266afcbd 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -39,9 +39,9 @@ jobs: steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - with: - persist-credentials: false - - uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 +# with: +# persist-credentials: false +# - uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} diff --git a/src/test/java/org/apache/commons/beanutils/ConvertUtilsTestCase.java b/src/test/java/org/apache/commons/beanutils/ConvertUtilsTestCase.java index 667c4071..c61f447d 100644 --- a/src/test/java/org/apache/commons/beanutils/ConvertUtilsTestCase.java +++ b/src/test/java/org/apache/commons/beanutils/ConvertUtilsTestCase.java @@ -353,7 +353,7 @@ public class ConvertUtilsTestCase extends TestCase { * Positive array conversion tests. */ public void testPositiveArray() { - + // array 1 final String values1[] = { "10", "20", "30" }; Object value = ConvertUtils.convert(values1, Integer.TYPE); final int shape[] = {}; @@ -362,7 +362,7 @@ public class ConvertUtilsTestCase extends TestCase { assertEquals(results1[0], 10); assertEquals(results1[1], 20); assertEquals(results1[2], 30); - + // array 2 final String values2[] = { "100", "200", "300" }; value = ConvertUtils.convert(values2, shape.getClass()); assertEquals(shape.getClass(), value.getClass()); @@ -370,7 +370,6 @@ public class ConvertUtilsTestCase extends TestCase { assertEquals(results2[0], 100); assertEquals(results2[1], 200); assertEquals(results2[2], 300); - } /**