Polish
This commit is contained in:
parent
f68f23bb52
commit
3ec778fb64
|
@ -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.
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue