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 b275773760
commit ccf711b551

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) {