Fix broken RequestMappingHandlerAdapter setter

RequestMappingHandlerAdapter.setReactiveRegistry() doesn't actually set the value appropriately.

FYI: I found this using lgtm.com

https://lgtm.com/projects/g/spring-projects/spring-framework/alerts/?mode=list
This commit is contained in:
Grant Hutchins 2017-09-12 10:55:08 -05:00 committed by Rossen Stoyanchev
parent ac5694b150
commit f4ef5cd451
1 changed files with 1 additions and 1 deletions

View File

@ -430,7 +430,7 @@ public class RequestMappingHandlerAdapter extends AbstractHandlerMethodAdapter
*/
public void setReactiveRegistry(ReactiveAdapterRegistry reactiveRegistry) {
Assert.notNull(reactiveRegistry, "ReactiveAdapterRegistry is required");
this.reactiveRegistry = this.reactiveRegistry;
this.reactiveRegistry = reactiveRegistry;
}
/**