-
Notifications
You must be signed in to change notification settings - Fork 15
Improve value-constructor plugin not to set List properties to null #14
Comments
Reported by ozgwei |
Issue-Links: |
Was assigned to lexi |
ozgwei said: |
File: value-constructor-patch-20081018-2047.txt |
ozgwei said: |
ozgwei said: Alex Wei |
kohsuke said: Would you like me to set you up with the commit access so that you can commit If the author does have a problem with your change, we could still roll back |
This issue was imported from java.net JIRA JAXB2_COMMONS-14 |
Currently if the parameter in the constructor is null, it is still assigned to
the related property.
In a patch to collection-setter-injector plugin (issue 13), list properties can
now be instantiated with an empty ArrayList.
Thus, it would be nice if the value-constructor does not replace the default
instantiated empty list with null if the it is passed in the constructor's
parameters.
Environment
Operating System: All
Platform: All
Affected Versions
[current]
The text was updated successfully, but these errors were encountered: