From 422d2359e5d04319beaf9019b3c99b6240d30e3c Mon Sep 17 00:00:00 2001 From: Sallo Szrajbman Date: Mon, 1 Mar 2021 10:06:40 +0000 Subject: [PATCH] BAEL-4362 - Generate WSDL Stubs with Maven Fixing identation on new lines --- .../java/com/baeldung/soap/ws/client/CountryServiceClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maven-modules/maven-plugins/jaxws/src/main/java/com/baeldung/soap/ws/client/CountryServiceClient.java b/maven-modules/maven-plugins/jaxws/src/main/java/com/baeldung/soap/ws/client/CountryServiceClient.java index d179a50396..5e6b4b135e 100644 --- a/maven-modules/maven-plugins/jaxws/src/main/java/com/baeldung/soap/ws/client/CountryServiceClient.java +++ b/maven-modules/maven-plugins/jaxws/src/main/java/com/baeldung/soap/ws/client/CountryServiceClient.java @@ -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) {