Skip to content

Helper method on TraversonBuilder to add query param unless value null #23

@davidcryer

Description

@davidcryer

Have client code like

if (value != null) {
tb = tb.withQueryParam("name", value);
}

it would be useful to have a helper method encapsulate the null considering number of times it is being done

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