Skip to content
This repository was archived by the owner on Sep 21, 2022. It is now read-only.
This repository was archived by the owner on Sep 21, 2022. It is now read-only.

Improve value-constructor plugin not to set List properties to null #14

Open
@glassfishrobot

Description

@glassfishrobot

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]

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions