Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Why not set tenant to "" in ListTasksParams$Builder? #653

Copy link
Copy link
@yuyu123-yuyu

Description

@yuyu123-yuyu
Issue body actions

Hi, I found that in ListTasksParams$Builder, the tenant field is required to be nonNull.

statusTimestampAfter, includeArtifacts, Assert.checkNotNullParam("tenant", tenant));

Whereas in MessageSendParams, the builder sets the tenant field to "" if it is null.

tenant == null ? "" : tenant);

Why the difference?

Considering that the constructors of ListTasksParams also set the tenant field to "" when it is not specified, would it be possible to do the same for ListTasksParams$Builder as well?

Thanks!

Reactions are currently unavailable

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.