private ClientIdentifier(final Client client, final CodeValue documentType, final String documentKey,final LocalDate validity, final String description) {
this.client = client;
this.documentType = documentType;
this.documentKey = StringUtils.defaultIfEmpty(documentKey, null);
i am confused in this part //this.validity = LocaleUtils.defaultIfEmpty(validity,null);
this.description = StringUtils.defaultIfEmpty(description, null);
}
I am passing LocalDate but don't know which utility to use for checking defualtIfEmpty
Aucun commentaire:
Enregistrer un commentaire