*/
@SuppressWarnings("unchecked")
protected void prepareUser(HttpServletRequest req, F sendForm, SortedSet<DA> userAddresses) {
Long selectedUserId = sendForm.getUserId();
long userId = -1; // none selected
Address selectedAddress = null;
if (selectedUserId != null && selectedUserId >= 1L){
for (Address address : userAddresses) {
if (address.getUser() != null && address.getUser().getId() == selectedUserId.longValue()){
userId = selectedUserId; // keep selection
selectedAddress = address;