This commit is contained in:
Phillip Webb 2018-02-09 11:31:53 -08:00
parent f68f23bb52
commit 3ec778fb64
4 changed files with 4 additions and 6 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2017 the original author or authors.
* Copyright 2012-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@ -247,8 +247,7 @@ public class ReactiveCloudFoundryActuatorAutoConfigurationTests {
@Test
public void skipSslValidation() {
setupContextWithCloudEnabled();
TestPropertyValues
.of("management.cloudfoundry.skip-ssl-validation:true")
TestPropertyValues.of("management.cloudfoundry.skip-ssl-validation:true")
.applyTo(this.context);
this.context.refresh();
CloudFoundryWebFluxEndpointHandlerMapping handlerMapping = getHandlerMapping();

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2017 the original author or authors.
* Copyright 2012-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@ -166,8 +166,7 @@ public abstract class JpaBaseConfiguration implements BeanFactoryAware {
private String[] getMappingResources() {
List<String> mappingResources = this.properties.getMappingResources();
return (!ObjectUtils.isEmpty(mappingResources)
? mappingResources.toArray(new String[mappingResources.size()])
: null);
? mappingResources.toArray(new String[mappingResources.size()]) : null);
}
/**