Skip to content

Commit f4ef5cd

Browse files
nertzyrstoyanchev
authored andcommitted
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
1 parent ac5694b commit f4ef5cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerAdapter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ public void setDeferredResultInterceptors(List<DeferredResultProcessingIntercept
430430
*/
431431
public void setReactiveRegistry(ReactiveAdapterRegistry reactiveRegistry) {
432432
Assert.notNull(reactiveRegistry, "ReactiveAdapterRegistry is required");
433-
this.reactiveRegistry = this.reactiveRegistry;
433+
this.reactiveRegistry = reactiveRegistry;
434434
}
435435

436436
/**

0 commit comments

Comments
 (0)