Skip to content

Commit 07d8458

Browse files
committed
Merge #345 from branch '343-bumpJavaTo11' of github.com:metafacture/metafacture-fix
2 parents 5de67d6 + 4f2f19e commit 07d8458

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ subprojects {
3939
'equalsverifier': '3.8.2',
4040
'guava': '29.0-jre',
4141
'jackson': '2.13.3',
42-
'jdk': '8',
42+
'jdk': '11',
4343
'jena': '3.17.0',
4444
'jetty': '9.4.14.v20181114',
4545
'jquery': '3.3.1-1',

metafix/src/test/java/org/metafacture/metafix/MetafixMethodTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2310,7 +2310,7 @@ public void copyFieldToSubfieldOfArrayOfObjectsWithExplicitAppend() {
23102310

23112311
@Test
23122312
public void copyFieldToSubfieldOfArrayOfStringsWithIndexImplicitAppend() {
2313-
MetafixTestHelpers.assertProcessException(IndexOutOfBoundsException.class, "Index: 0, Size: 0", () ->
2313+
MetafixTestHelpers.assertProcessException(IndexOutOfBoundsException.class, "Index 0 out of bounds for length 0", () ->
23142314
MetafixTestHelpers.assertFix(streamReceiver, Arrays.asList(
23152315
"set_array('test[]')",
23162316
"copy_field('key', 'test[].1')"
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
^Exception in thread "main" org\.metafacture\.metafix\.FixProcessException: Error while executing Fix expression \(at .*/metafix/src/test/resources/org/metafacture/metafix/integration/record/fromJson/toJson/copy_fieldToArrayOfStringsWithIndex/test\.fix, line 2\): copy_field\("key", "test\[\]\.1"\)$
2-
^Caused by: java\.lang\.IndexOutOfBoundsException: Index: 0, Size: 0$
2+
^Caused by: java\.lang\.IndexOutOfBoundsException: Index 0 out of bounds for length 0$

0 commit comments

Comments
 (0)