class DefaultAddressService implements AddressService {

    public void setAddressList(List<String> addresses) {
        if (addresses == null || addresses.isEmpty()) {
            return;
        }
        List<Address> addressList = new ArrayList<Address>();
        for (String addressStr : addresses) {
            addressList.add(new Address(addressStr.trim()));
        }
        this.addressList = addressList;
    }

    public  DefaultAddressService();
    public  DefaultAddressService(String appName);

}