// Add user to local list
this.userList.add(updatedUser);
- // Clear all
- this.clear();
-
// Clear contact instance
this.contactController.clear();
}
return user;
}
- /**
- * Clears this bean
- */
- private void clear () {
- // Clear all
- this.setUserName(null);
- this.setUserPassword(null);
- this.setUserPasswordRepeat(null);
- }
-
/**
* Checks if same password is entered and that they are not empty.
* <p>