BAEL-4362 - Generate WSDL Stubs with Maven

Fixing identation on new lines
This commit is contained in:
Sallo Szrajbman 2021-03-01 10:06:40 +00:00
parent 7c4fd01620
commit 422d2359e5

View File

@ -11,7 +11,7 @@ public class CountryServiceClient {
} }
public String getCapitalByCountryName(String countryName) { public String getCapitalByCountryName(String countryName) {
return Optional.of(countryService.findByName(countryName)) return Optional.of(countryService.findByName(countryName))
.map(Country::getCapital).orElseThrow(CountryNotFoundException::new); .map(Country::getCapital).orElseThrow(CountryNotFoundException::new);
} }
public int getPopulationByCountryName(String countryName) { public int getPopulationByCountryName(String countryName) {