Skip to content

Include group name in Command.java assertions #291

Closed
@nhomble

Description

@nhomble

The application failed to start up because of Assertions in Command. Specifically, I was hit by Help constructor which asserts that description has text. I think the assertion is great, but I had to put debug points to finally figure out which class had the offender. Since group is usually defined (since we default to the class name when a name isn't explicitly defined) in StandardMethodTargetRegistrar::getOrInferGroup I think we could just add this to the assertion message for clarity?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions