This content has been marked as final.
Show 3 replies
-
1. Re: metadata-related NPEs: empty collection vs null
starksm64 Nov 2, 2007 12:46 PM (in response to aloubyansky)From the merged view this is fine. The concern about doing this originally was that invalid objects would result for writing back out, and if you initialize fields to empty non-mutable collections this caused parse errors as jbossxb will use an existing collection from the binding target if one exists.
-
2. Re: metadata-related NPEs: empty collection vs null
aloubyansky Nov 2, 2007 1:00 PM (in response to aloubyansky)You mean from the merged view we return empty collections instead of null?
-
3. Re: metadata-related NPEs: empty collection vs null
starksm64 Nov 2, 2007 1:01 PM (in response to aloubyansky)Yes.