mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Fix ISE in [Http|RSocket]ServiceProxyFactory
Closes gh-29376
This commit is contained in:
+3
-2
@@ -131,8 +131,9 @@ public final class HttpServiceProxyFactory implements InitializingBean, Embedded
|
||||
@Deprecated(since = "6.0.0-RC2", forRemoval = true)
|
||||
@Override
|
||||
public void setEmbeddedValueResolver(StringValueResolver resolver) {
|
||||
Assert.state(this.beanStyleFactory != null, "HttpServiceProxyFactory was created through the builder");
|
||||
this.beanStyleFactory.setEmbeddedValueResolver(resolver);
|
||||
if (this.beanStyleFactory != null) {
|
||||
this.beanStyleFactory.setEmbeddedValueResolver(resolver);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user