diff --git a/spring-boot/src/main/java/org/springframework/boot/cloud/CloudPlatform.java b/spring-boot/src/main/java/org/springframework/boot/cloud/CloudPlatform.java index 46729ebbaf..81be02b969 100644 --- a/spring-boot/src/main/java/org/springframework/boot/cloud/CloudPlatform.java +++ b/spring-boot/src/main/java/org/springframework/boot/cloud/CloudPlatform.java @@ -67,7 +67,6 @@ public enum CloudPlatform { /** * Determines if the platform is active (i.e. the application is running in it). - * * @param environment the environment * @return if the platform is active. */ @@ -76,7 +75,6 @@ public enum CloudPlatform { /** * Returns if the platform is behind a load balancer and uses * {@literal X-Forwarded-For} headers. - * * @return if {@literal X-Forwarded-For} headers are used */ public boolean isUsingForwardHeaders() { @@ -85,7 +83,6 @@ public enum CloudPlatform { /** * Returns the active {@link CloudPlatform} or {@code null} if one cannot be deduced. - * * @param environment the environment * @return the {@link CloudPlatform} or {@code null} */ diff --git a/spring-boot/src/test/java/org/springframework/boot/cloud/CloudPlatformTests.java b/spring-boot/src/test/java/org/springframework/boot/cloud/CloudPlatformTests.java index de97d5853d..581f209879 100644 --- a/spring-boot/src/test/java/org/springframework/boot/cloud/CloudPlatformTests.java +++ b/spring-boot/src/test/java/org/springframework/boot/cloud/CloudPlatformTests.java @@ -16,12 +16,13 @@ package org.springframework.boot.cloud; -import static org.assertj.core.api.Assertions.assertThat; - import org.junit.Test; + import org.springframework.core.env.Environment; import org.springframework.mock.env.MockEnvironment; +import static org.assertj.core.api.Assertions.assertThat; + /** * Tests for {@link CloudPlatform}. *