Polish "Rename HCP to SAP"

Closes gh-9747
pull/9747/merge
Stephane Nicoll 7 years ago
parent c02d5d52c6
commit 27aee689e7

@ -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}
*/

@ -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}.
*

Loading…
Cancel
Save