Skip to content

Commit 4163851

Browse files
committed
Formatting
1 parent b0b68a4 commit 4163851

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

spring-cloud-gateway-server-webflux/src/test/java/org/springframework/cloud/gateway/discovery/DiscoveryClientRouteDefinitionLocatorServiceInstanceSpelTests.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@
3636
import static org.mockito.Mockito.when;
3737

3838
/**
39-
* Failures are not always the outer or innermost throwable: Reactor may wrap the signal, and Spring SpEL often
40-
* wraps an {@link org.springframework.expression.AccessException} inside {@link SpelEvaluationException}, so the
41-
* assertion walks the {@linkplain Throwable#getCause() cause chain}.
39+
* Failures are not always the outer or innermost throwable: Reactor may wrap the signal,
40+
* and Spring SpEL often wraps an {@link org.springframework.expression.AccessException}
41+
* inside {@link SpelEvaluationException}, so the assertion walks the
42+
* {@linkplain Throwable#getCause() cause chain}.
4243
*/
4344
public class DiscoveryClientRouteDefinitionLocatorServiceInstanceSpelTests {
4445

@@ -101,7 +102,6 @@ public Map<String, String> getMetadata() {
101102
}
102103
};
103104

104-
105105
ReactiveDiscoveryClient discoveryClient = mock(ReactiveDiscoveryClient.class);
106106
when(discoveryClient.getServices()).thenReturn(Flux.just("my-service"));
107107
when(discoveryClient.getInstances("my-service")).thenReturn(Flux.just(instance));

0 commit comments

Comments
 (0)