Skip to content

Commit

Permalink
GH-492 - Fix missing type coercion.
Browse files Browse the repository at this point in the history
This bug is probably unrelated.
  • Loading branch information
michael-simons committed Dec 11, 2018
1 parent e784a37 commit 7bbf631
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public static Object merge(Class<?> parameterType, Object newValues, Collection

Object array = Array.newInstance(type, objects.size());
for (int i = 0; i < objects.size(); i++) {
Array.set(array, i, objects.get(i));
Array.set(array, i, Utils.coerceTypes(type, objects.get(i)));
}
return array;
}
Expand Down

0 comments on commit 7bbf631

Please sign in to comment.