From 5651695fd17c182044186b2fee043e4d7bc683b8 Mon Sep 17 00:00:00 2001 From: Rossen Stoyanchev Date: Mon, 29 Mar 2021 17:59:19 +0100 Subject: [PATCH] Fix typo in Javadoc Closes gh-26740 --- .../mvc/method/annotation/RequestBodyAdviceAdapter.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestBodyAdviceAdapter.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestBodyAdviceAdapter.java index 0e8ade00d8..c20bd41f7f 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestBodyAdviceAdapter.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestBodyAdviceAdapter.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2015 the original author or authors. + * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,8 +25,8 @@ import org.springframework.lang.Nullable; /** * A convenient starting point for implementing - * {@link org.springframework.web.servlet.mvc.method.annotation.ResponseBodyAdvice - * ResponseBodyAdvice} with default method implementations. + * {@link org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvice + * RequestBodyAdvice} with default method implementations. * *

Sub-classes are required to implement {@link #supports} to return true * depending on when the advice applies.