Browse Source

formatting

pull/1025/merge
spencergibb 3 years ago
parent
commit
14efdc71c7
No known key found for this signature in database
GPG Key ID: 7788A47380690861
  1. 2
      spring-cloud-commons/src/main/java/org/springframework/cloud/client/discovery/event/InstanceRegisteredEvent.java
  2. 4
      spring-cloud-commons/src/main/java/org/springframework/cloud/client/loadbalancer/reactive/ReactorLoadBalancerExchangeFilterFunction.java
  3. 2
      spring-cloud-context/src/main/java/org/springframework/cloud/context/properties/ConfigurationPropertiesRebinder.java
  4. 5
      spring-cloud-context/src/test/java/org/springframework/cloud/bootstrap/BootstrapOrderingCustomPropertySourceIntegrationTests.java

2
spring-cloud-commons/src/main/java/org/springframework/cloud/client/discovery/event/InstanceRegisteredEvent.java

@ -22,8 +22,8 @@ import org.springframework.context.ApplicationEvent; @@ -22,8 +22,8 @@ import org.springframework.context.ApplicationEvent;
* Event to be published after the local service instance registers itself with a
* discovery service.
*
* @author Spencer Gibb
* @param <T> - type of configuration
* @author Spencer Gibb
*/
@SuppressWarnings("serial")
public class InstanceRegisteredEvent<T> extends ApplicationEvent {

4
spring-cloud-commons/src/main/java/org/springframework/cloud/client/loadbalancer/reactive/ReactorLoadBalancerExchangeFilterFunction.java

@ -64,10 +64,10 @@ public class ReactorLoadBalancerExchangeFilterFunction implements LoadBalancedEx @@ -64,10 +64,10 @@ public class ReactorLoadBalancerExchangeFilterFunction implements LoadBalancedEx
private final List<LoadBalancerClientRequestTransformer> transformers;
/**
* @deprecated Deprecated in favor of
* {@link #ReactorLoadBalancerExchangeFilterFunction(ReactiveLoadBalancer.Factory, LoadBalancerProperties, List)}.
* @param loadBalancerFactory the loadbalancer factory
* @param properties the properties for SC LoadBalancer
* @deprecated Deprecated in favor of
* {@link #ReactorLoadBalancerExchangeFilterFunction(ReactiveLoadBalancer.Factory, LoadBalancerProperties, List)}.
*/
@Deprecated
public ReactorLoadBalancerExchangeFilterFunction(ReactiveLoadBalancer.Factory<ServiceInstance> loadBalancerFactory,

2
spring-cloud-context/src/main/java/org/springframework/cloud/context/properties/ConfigurationPropertiesRebinder.java

@ -44,8 +44,8 @@ import org.springframework.util.StringUtils; @@ -44,8 +44,8 @@ import org.springframework.util.StringUtils;
* re-initialized, the changes are available immediately to any component that is using
* the <code>@ConfigurationProperties</code> bean.
*
* @see RefreshScope for a deeper and optionally more focused refresh of bean components.
* @author Dave Syer
* @see RefreshScope for a deeper and optionally more focused refresh of bean components.
*
*/
@Component

5
spring-cloud-context/src/test/java/org/springframework/cloud/bootstrap/BootstrapOrderingCustomPropertySourceIntegrationTests.java

@ -36,8 +36,9 @@ import org.springframework.test.context.ActiveProfiles; @@ -36,8 +36,9 @@ import org.springframework.test.context.ActiveProfiles;
import static org.assertj.core.api.BDDAssertions.then;
@SpringBootTest(classes = Application.class, properties = { "encrypt.key:deadbeef",
"spring.cloud.bootstrap.name:custom", "spring.cloud.bootstrap.enabled=true" })
@SpringBootTest(classes = Application.class,
properties = { "encrypt.key:deadbeef", "spring.cloud.bootstrap.name:custom",
"spring.cloud.bootstrap.enabled=true" })
@ActiveProfiles("encrypt")
public class BootstrapOrderingCustomPropertySourceIntegrationTests {

Loading…
Cancel
Save