Skip to content

Commit 9232ebb

Browse files
committed
Commit to try and fix GH build which passes locally
1 parent 626b6cc commit 9232ebb

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/maven.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ jobs:
3939

4040
steps:
4141
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
42-
with:
43-
persist-credentials: false
44-
- uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
42+
# with:
43+
# persist-credentials: false
44+
# - uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
4545
with:
4646
path: ~/.m2/repository
4747
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}

src/test/java/org/apache/commons/beanutils/ConvertUtilsTestCase.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ public void testObjectToStringScalar() {
353353
* Positive array conversion tests.
354354
*/
355355
public void testPositiveArray() {
356-
356+
// array 1
357357
final String values1[] = { "10", "20", "30" };
358358
Object value = ConvertUtils.convert(values1, Integer.TYPE);
359359
final int shape[] = {};
@@ -362,15 +362,14 @@ public void testPositiveArray() {
362362
assertEquals(results1[0], 10);
363363
assertEquals(results1[1], 20);
364364
assertEquals(results1[2], 30);
365-
365+
// array 2
366366
final String values2[] = { "100", "200", "300" };
367367
value = ConvertUtils.convert(values2, shape.getClass());
368368
assertEquals(shape.getClass(), value.getClass());
369369
final int results2[] = (int[]) value;
370370
assertEquals(results2[0], 100);
371371
assertEquals(results2[1], 200);
372372
assertEquals(results2[2], 300);
373-
374373
}
375374

376375
/**

0 commit comments

Comments
 (0)