Commit 27aee689 authored by Stephane Nicoll's avatar Stephane Nicoll

Polish "Rename HCP to SAP"

Closes gh-9747
parent c02d5d52
......@@ -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}.
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment