From 7dca6a36a62e2be84f43c005b81e18b7d465f477 Mon Sep 17 00:00:00 2001 From: Hyeonmin Park Date: Thu, 8 Apr 2021 19:42:27 +0900 Subject: [PATCH 1/2] Fix javadoc link syntax See gh-26776 --- .../web/servlet/config/annotation/CorsRegistration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/CorsRegistration.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/CorsRegistration.java index 0de5ecae5db..7dcd85cb47f 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/CorsRegistration.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/CorsRegistration.java @@ -60,7 +60,7 @@ public class CorsRegistration { /** * Alternative to {@link #allowCredentials} that supports origins declared * via wildcard patterns. Please, see - * @link CorsConfiguration#setAllowedOriginPatterns(List)} for details. + * {@link CorsConfiguration#setAllowedOriginPatterns(List)} for details. *

By default this is not set. * @since 5.3 */ From 7adac25e7e87f66c1291c5543501c31171bb47ec Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Thu, 8 Apr 2021 14:24:18 +0200 Subject: [PATCH 2/2] Update copyright year of changed file See gh-26776 --- .../web/servlet/config/annotation/CorsRegistration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/CorsRegistration.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/CorsRegistration.java index 7dcd85cb47f..f60ff3770a0 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/CorsRegistration.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/CorsRegistration.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2020 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.