Commit 3ec778fb authored by Phillip Webb's avatar Phillip Webb

Polish

parent f68f23bb
/*
* 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();
......
/*
* 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);
}
/**
......
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