Handling blank/empty List/Set/Array values

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Handling blank/empty List/Set/Array values

John D. Ament
I just noticed last night that the TCK for MP doesn't cover tests for blank/empty values in List/Set/Array.  My assumption is that wrapping these in Optional<> doesn't make sense, but if you are missing a value in one of these types for injection purposes, we should use an empty object.

Does anyone disagree?

John