- wrong check on employee's personal data instance, fixed
Signed-off-by: Roland Häder <roland@mxchange.org>
if (null == employeeCompany) {
// Throw NPE
throw new NullPointerException("employeeCompany is null"); //NOI18N
- } else if (((null == employeeNumber) || (employeeNumber.isEmpty()) && (null == employeePersonalData))) {
+ } else if (((null == employeeNumber) || (employeeNumber.isEmpty())) && (null == employeePersonalData)) {
// At least one must be given
throw new NullPointerException("employeeNumber or employeePersonalData must be set."); //NOI18N
}