From 3310b595202e400affe4b78bac9df3e79625e53a Mon Sep 17 00:00:00 2001 From: Brian Clozel Date: Mon, 19 Dec 2022 14:50:47 +0100 Subject: [PATCH] Polish --- .../graphql/GraphQlObservationAutoConfiguration.java | 2 +- .../graphql/GraphQlObservationAutoConfigurationTests.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/observation/graphql/GraphQlObservationAutoConfiguration.java b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/observation/graphql/GraphQlObservationAutoConfiguration.java index e38b4959e5..1eb6af969e 100644 --- a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/observation/graphql/GraphQlObservationAutoConfiguration.java +++ b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/observation/graphql/GraphQlObservationAutoConfiguration.java @@ -70,7 +70,7 @@ public class GraphQlObservationAutoConfiguration { @ConditionalOnBean(Propagator.class) @ConditionalOnMissingBean @Order(Ordered.HIGHEST_PRECEDENCE + 1) - public PropagationWebGraphQlInterceptor propagationWebGraphQlInterceptor(Propagator propagator) { + PropagationWebGraphQlInterceptor propagationWebGraphQlInterceptor(Propagator propagator) { return new PropagationWebGraphQlInterceptor(propagator); } diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/observation/graphql/GraphQlObservationAutoConfigurationTests.java b/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/observation/graphql/GraphQlObservationAutoConfigurationTests.java index a35161368c..f5f1441076 100644 --- a/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/observation/graphql/GraphQlObservationAutoConfigurationTests.java +++ b/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/observation/graphql/GraphQlObservationAutoConfigurationTests.java @@ -134,6 +134,7 @@ class GraphQlObservationAutoConfigurationTests { WebGraphQlHandler webGraphQlHandler() { return mock(WebGraphQlHandler.class); } + } @Configuration(proxyBeanMethods = false) @@ -143,6 +144,7 @@ class GraphQlObservationAutoConfigurationTests { Propagator propagator() { return mock(Propagator.class); } + } }