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

    status/need-triageTeam needs to triage and take a first look

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions