From d5b0782700fb9e0b57f26c566c340a8b57e99622 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Tue, 31 Jan 2023 10:10:44 +0100 Subject: [PATCH] Polishing --- .../context/support/ApplicationObjectSupport.java | 4 ++-- .../web/servlet/handler/AbstractHandlerMapping.java | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/spring-context/src/main/java/org/springframework/context/support/ApplicationObjectSupport.java b/spring-context/src/main/java/org/springframework/context/support/ApplicationObjectSupport.java index a251932a2ca..9e298434699 100644 --- a/spring-context/src/main/java/org/springframework/context/support/ApplicationObjectSupport.java +++ b/spring-context/src/main/java/org/springframework/context/support/ApplicationObjectSupport.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2023 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. @@ -127,7 +127,7 @@ public abstract class ApplicationObjectSupport implements ApplicationContextAwar /** * Subclasses can override this for custom initialization behavior. *

The default implementation is empty. Called by - * {@link #initApplicationContext(org.springframework.context.ApplicationContext)}. + * {@link #initApplicationContext(ApplicationContext)}. * @throws ApplicationContextException in case of initialization errors * @throws BeansException if thrown by ApplicationContext methods * @see #setApplicationContext diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/handler/AbstractHandlerMapping.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/handler/AbstractHandlerMapping.java index 290dd106ee0..e0a56b82a7b 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/handler/AbstractHandlerMapping.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/handler/AbstractHandlerMapping.java @@ -60,7 +60,7 @@ import org.springframework.web.util.pattern.PathPatternParser; /** * Abstract base class for {@link org.springframework.web.servlet.HandlerMapping} - * implementations. Supports ordering, a default handler, handler interceptors, + * implementations. Supports ordering, a default handler, and handler interceptors, * including handler interceptors mapped by path patterns. * *

Note: This base class does not support exposure of the @@ -280,8 +280,8 @@ public abstract class AbstractHandlerMapping extends WebApplicationObjectSupport /** * Return all configured interceptors adapted to {@link HandlerInterceptor}. * @return the array of configured interceptors, or {@code null} if none - * are configured; this method also returns {@code null} also if called too - * early, or more specifically before. + * are configured; this method also returns {@code null} if called too early, + * or more specifically before * {@link org.springframework.context.ApplicationContextAware#setApplicationContext}. */ @Nullable