diff --git a/fortune-teller-config-server/pom.xml b/fortune-teller-config-server/pom.xml index a790712..447c01b 100644 --- a/fortune-teller-config-server/pom.xml +++ b/fortune-teller-config-server/pom.xml @@ -3,9 +3,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - io.spring.cloud.samples fortune-teller-config-server - 0.0.1-SNAPSHOT jar fortune-teller-config-server diff --git a/fortune-teller-eureka/pom.xml b/fortune-teller-eureka/pom.xml index 86cdecf..0419952 100644 --- a/fortune-teller-eureka/pom.xml +++ b/fortune-teller-eureka/pom.xml @@ -3,9 +3,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - io.spring.cloud.samples fortune-teller-eureka - 0.0.1-SNAPSHOT jar fortune-teller-eureka diff --git a/fortune-teller-fortune-service/pom.xml b/fortune-teller-fortune-service/pom.xml index 3fc1e23..f30e065 100644 --- a/fortune-teller-fortune-service/pom.xml +++ b/fortune-teller-fortune-service/pom.xml @@ -3,9 +3,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - io.spring.cloud.samples fortune-teller-fortune-service - 0.0.1-SNAPSHOT jar fortune-teller-fortune-service diff --git a/fortune-teller-hystrix-dashboard/pom.xml b/fortune-teller-hystrix-dashboard/pom.xml index 3809871..86073af 100644 --- a/fortune-teller-hystrix-dashboard/pom.xml +++ b/fortune-teller-hystrix-dashboard/pom.xml @@ -3,9 +3,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - io.spring.cloud.samples fortune-teller-hystrix-dashboard - 0.0.1-SNAPSHOT jar fortune-teller-hystrix-dashboard diff --git a/fortune-teller-ui/pom.xml b/fortune-teller-ui/pom.xml index 6828ce5..197ec78 100644 --- a/fortune-teller-ui/pom.xml +++ b/fortune-teller-ui/pom.xml @@ -3,9 +3,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - io.spring.cloud.samples fortune-teller-ui - 0.0.1-SNAPSHOT jar fortune-teller-ui diff --git a/fortune-teller-ui/src/main/java/io/spring/cloud/samples/fortuneteller/ui/services/fortunes/FortuneService.java b/fortune-teller-ui/src/main/java/io/spring/cloud/samples/fortuneteller/ui/services/fortunes/FortuneService.java index bfc7333..6599cc7 100644 --- a/fortune-teller-ui/src/main/java/io/spring/cloud/samples/fortuneteller/ui/services/fortunes/FortuneService.java +++ b/fortune-teller-ui/src/main/java/io/spring/cloud/samples/fortuneteller/ui/services/fortunes/FortuneService.java @@ -21,6 +21,7 @@ public Fortune randomFortune() { return restTemplate.getForObject("http://fortunes/random", Fortune.class); } + @SuppressWarnings("unused") private Fortune fallbackFortune() { return new Fortune(42L, fortuneProperties.getFallbackFortune()); }