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
1 changed files with 1 additions and 1 deletions

View File

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