Skip to content

Commit d5abc07

Browse files
committed
Polish "Add missing Javadoc since in AbstractUrlHandlerMapping"
See gh-33247
1 parent edc356d commit d5abc07

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spring-webmvc/src/main/java/org/springframework/web/servlet/handler/AbstractUrlHandlerMapping.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ public void setLazyInitHandlers(boolean lazyInitHandlers) {
143143
* @param beanName the name of the handler bean
144144
* @throws BeansException if the handler couldn't be registered
145145
* @throws IllegalStateException if there is a conflicting handler registered
146+
* @since 6.2
146147
*/
147148
public void registerHandler(String[] urlPaths, String beanName) throws BeansException, IllegalStateException {
148149
Assert.notNull(urlPaths, "URL path array must not be null");
@@ -158,6 +159,7 @@ public void registerHandler(String[] urlPaths, String beanName) throws BeansExce
158159
* (a bean name will automatically be resolved into the corresponding handler bean)
159160
* @throws BeansException if the handler couldn't be registered
160161
* @throws IllegalStateException if there is a conflicting handler registered
162+
* @since 6.2
161163
*/
162164
public void registerHandler(String urlPath, Object handler) throws BeansException, IllegalStateException {
163165
Assert.notNull(urlPath, "URL path must not be null");

0 commit comments

Comments
 (0)