mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 16:39:29 +00:00
Preserve overridden toString result in HandlerMethod copy constructor
Closes gh-32184
This commit is contained in:
@@ -198,7 +198,7 @@ public class HandlerMethod extends AnnotatedMethod {
|
||||
this.responseStatus = handlerMethod.responseStatus;
|
||||
this.responseStatusReason = handlerMethod.responseStatusReason;
|
||||
this.resolvedFromHandlerMethod = handlerMethod;
|
||||
this.description = handlerMethod.description;
|
||||
this.description = handlerMethod.toString();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user