Corrects HookRegisteringBeanDefinitionRegistryPostProcessor.setupHooks (#1546)
Probably due to code drift, `HookRegisteringBeanDefinitionRegistryPostProcessor.setupHooks` was used as an object method, which led to a confusing no-op chain in tests. This ensures it is used consistently as a static method, and also corrects a bean accidentally marked static for testing.
This commit is contained in:
@@ -51,9 +51,7 @@ public final class TraceReactorAutoConfigurationAccessorConfiguration {
|
||||
if (log.isTraceEnabled()) {
|
||||
log.trace("Setting up hooks");
|
||||
}
|
||||
TraceReactorAutoConfiguration.TraceReactorConfiguration
|
||||
.traceHookRegisteringBeanDefinitionRegistryPostProcessor(context)
|
||||
.setupHooks(context);
|
||||
HookRegisteringBeanDefinitionRegistryPostProcessor.setupHooks(context);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user