DataUtilities.defaultValue can't handle array types

Description

DataUtilities.defaultValue doesn't support arrays, which can lead to errors with array typed fields

https://github.com/geotools/geotools/blob/master/modules/library/main/src/main/java/org/geotools/data/DataUtilities.java#L846

Similar to the default for strings, it would make sense to default to an empty array.

Environment

None

Assignee

Unassigned

Reporter

Kevin Smith [Administrator]

Triage

None

Fix versions

Priority

Medium
Configure