Skip to content

String option is empty string by default and not null #1273

@georgmittendorfer

Description

@georgmittendorfer

In spring shell 3.x an option @Option(longName = "test", description = "some description") String test was null when not specified. In spring shell 4.x it is an empty string "". That breaks old behavior and seems to be counter intuitive for me. I assume it is a bug. If that is wanted behavior feel free to close this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions