File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
main/java/org/springframework/boot/cloud
test/java/org/springframework/boot/cloud Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,6 @@ public boolean isActive(Environment environment) {
67
67
68
68
/**
69
69
* Determines if the platform is active (i.e. the application is running in it).
70
- *
71
70
* @param environment the environment
72
71
* @return if the platform is active.
73
72
*/
@@ -76,7 +75,6 @@ public boolean isActive(Environment environment) {
76
75
/**
77
76
* Returns if the platform is behind a load balancer and uses
78
77
* {@literal X-Forwarded-For} headers.
79
- *
80
78
* @return if {@literal X-Forwarded-For} headers are used
81
79
*/
82
80
public boolean isUsingForwardHeaders () {
@@ -85,7 +83,6 @@ public boolean isUsingForwardHeaders() {
85
83
86
84
/**
87
85
* Returns the active {@link CloudPlatform} or {@code null} if one cannot be deduced.
88
- *
89
86
* @param environment the environment
90
87
* @return the {@link CloudPlatform} or {@code null}
91
88
*/
Original file line number Diff line number Diff line change 16
16
17
17
package org .springframework .boot .cloud ;
18
18
19
- import static org .assertj .core .api .Assertions .assertThat ;
20
-
21
19
import org .junit .Test ;
20
+
22
21
import org .springframework .core .env .Environment ;
23
22
import org .springframework .mock .env .MockEnvironment ;
24
23
24
+ import static org .assertj .core .api .Assertions .assertThat ;
25
+
25
26
/**
26
27
* Tests for {@link CloudPlatform}.
27
28
*
You can’t perform that action at this time.
0 commit comments