Polishing

This commit is contained in:
Sam Brannen 2020-11-02 15:47:15 +01:00
parent 7be7e5beb4
commit 154f0c71c9
1 changed files with 3 additions and 2 deletions

View File

@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.web.servlet.mvc.method.annotation;
import java.security.Principal;
@ -29,8 +30,8 @@ import org.springframework.web.method.support.ModelAndViewContainer;
/**
* Resolves an argument of type {@link Principal}, similar to
* {@link ServletRequestMethodArgumentResolver} but irrespective of whether the
* argument is annotated or not. This is doen to enable custom argument
* resolution of a {@link Principal} argument (with custom annotation).
* argument is annotated or not. This is done to enable custom argument
* resolution of a {@link Principal} argument (with a custom annotation).
*
* @author Rossen Stoyanchev
* @since 5.3.1