Skip to content

Commit 8325fce

Browse files
committed
Fix formatting
1 parent 6586bae commit 8325fce

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/condition/ConditionalOnExposedEndpoint.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
* <li>{@code "management.endpoints.web.exposure.*"} expose this endpoint</li>
3838
* <li>or if JMX is enabled and {@code "management.endpoints.jmx.exposure.*"} expose this
3939
* endpoint</li>
40-
* <li>or if the application is running on {@link org.springframework.boot.cloud.CloudPlatform#CLOUD_FOUNDRY}</li>
40+
* <li>or if the application is running on
41+
* {@link org.springframework.boot.cloud.CloudPlatform#CLOUD_FOUNDRY}</li>
4142
* </ul>
4243
*
4344
* When placed on a {@code @Bean} method, the endpoint defaults to the return type of the

spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/endpoint/condition/ConditionalOnExposedEndpointTests.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,9 @@ public void outcomeWithNoEndpointReferenceShouldFail() {
144144

145145
@Test
146146
public void outcomeOnCloudFoundryShouldMatchAll() {
147-
this.contextRunner
148-
.withPropertyValues("VCAP_APPLICATION:---")
149-
.run((context) -> assertThat(context).hasBean("info")
150-
.hasBean("health").hasBean("spring").hasBean("test"));
147+
this.contextRunner.withPropertyValues("VCAP_APPLICATION:---")
148+
.run((context) -> assertThat(context).hasBean("info").hasBean("health")
149+
.hasBean("spring").hasBean("test"));
151150
}
152151

153152
@Endpoint(id = "health")

0 commit comments

Comments
 (0)