AbstractCityResponse( City city, Continent continent, Country country, Location location, MaxMind maxmind, Postal postal, Country registeredCountry, RepresentedCountry representedCountry, List<Subdivision> subdivisions, Traits traits ) { super(continent, country, maxmind, registeredCountry, representedCountry, traits); this.city = city != null ? city : new City(); this.location = location != null ? location : new Location(); this.postal = postal != null ? postal : new Postal(); this.subdivisions = subdivisions != null ? subdivisions : new ArrayList<Subdivision>(); }
AbstractCityResponse( City city, Continent continent, Country country, Location location, MaxMind maxmind, Postal postal, Country registeredCountry, RepresentedCountry representedCountry, List<Subdivision> subdivisions, Traits traits ) { super(continent, country, maxmind, registeredCountry, representedCountry, traits); this.city = city != null ? city : new City(); this.location = location != null ? location : new Location(); this.postal = postal != null ? postal : new Postal(); this.subdivisions = subdivisions != null ? subdivisions : new ArrayList<Subdivision>(); }