autotraderuk/traverson4j

Helper method on TraversonBuilder to add query param unless value null

davidcryer opened this issue · 0 comments

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