Subversion Repositories SmartDukaan

Rev

Rev 24450 | Rev 24470 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 24450 Rev 24466
Line 940... Line 940...
940
		} catch (ProfitMandiBusinessException profitMandiBusinessException) {
940
		} catch (ProfitMandiBusinessException profitMandiBusinessException) {
941
			LOGGER.warn("Customer address not found with [{}]", customAddress);
941
			LOGGER.warn("Customer address not found with [{}]", customAddress);
942
			customerAddress = new CustomerAddress();
942
			customerAddress = new CustomerAddress();
943
			this.setCustomerAddress(customerAddress, customAddress);
943
			this.setCustomerAddress(customerAddress, customAddress);
944
			customerAddress.setCustomerId(customerId);
944
			customerAddress.setCustomerId(customerId);
-
 
945
			customerAddressRepository.persist(customerAddress);
945
		}
946
		}
946
		customerAddressRepository.persist(customerAddress);
-
 
947
		return customerAddress;
947
		return customerAddress;
948
	}
948
	}
949
 
949
 
950
	private String getValidName(String name) {
950
	private String getValidName(String name) {
951
		return name != null ? name : "";
951
		return name != null ? name : "";