if (targetStaffMember == null) {
LOG.debug("Saving StaffMember with id '{}' to the database.", id);
} else {
LOG.debug("Updating StaffMember with id '{}' in the database.", id);
if (!Objects.equals(targetStaffMember.getName(), staffMember.getName())) {
<BUG>LOG.debug("Chaning login of StaffMember with id '{}' from '{}' to '{}' in the database.", id,
</BUG>
targetStaffMember.getName(), staffMember.getName());
}
}

if (targetStaffMember == null) {
LOG.debug("Saving StaffMember with id '{}' to the database.", id);
} else {
LOG.debug("Updating StaffMember with id '{}' in the database.", id);
if (!Objects.equals(targetStaffMember.getName(), staffMember.getName())) {
LOG.debug("Changing login of StaffMember with id '{}' from '{}' to '{}' in the database.", id,
targetStaffMember.getName(), staffMember.getName());
}
}
