From c7f44ff671fe13e8474316ebe074fdde8d413326 Mon Sep 17 00:00:00 2001 From: XenoAmess Date: Wed, 22 Jul 2020 16:24:55 +0800 Subject: [PATCH] Fix links in Javadoc Closes gh-25448 --- .../beans/factory/xml/DuplicateBeanIdTests.java | 4 ++-- .../springframework/aop/framework/AbstractAopProxyTests.java | 2 +- .../springframework/core/env/ReadOnlySystemAttributesMap.java | 2 +- .../core/annotation/AnnotatedElementUtilsTests.java | 2 +- ...tipleComposedAnnotationsOnSingleAnnotatedElementTests.java | 2 +- .../springframework/http/codec/protobuf/ProtobufDecoder.java | 2 +- .../servlet/view/tiles3/AbstractSpringPreparerFactory.java | 2 +- .../web/servlet/view/tiles3/SimpleSpringPreparerFactory.java | 2 +- .../web/servlet/view/tiles3/SpringBeanPreparerFactory.java | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/spring-beans/src/test/java/org/springframework/beans/factory/xml/DuplicateBeanIdTests.java b/spring-beans/src/test/java/org/springframework/beans/factory/xml/DuplicateBeanIdTests.java index 2520004ea3..c52001463c 100644 --- a/spring-beans/src/test/java/org/springframework/beans/factory/xml/DuplicateBeanIdTests.java +++ b/spring-beans/src/test/java/org/springframework/beans/factory/xml/DuplicateBeanIdTests.java @@ -37,8 +37,8 @@ import static org.assertj.core.api.Assertions.assertThatExceptionOfType; * * @author Chris Beams * @since 3.1 - * @see org.springframework.beans.factory.xml.XmlBeanFactoryTests#testWithDuplicateName - * @see org.springframework.beans.factory.xml.XmlBeanFactoryTests#testWithDuplicateNameInAlias + * @see org.springframework.beans.factory.xml.XmlBeanFactoryTests#withDuplicateName + * @see org.springframework.beans.factory.xml.XmlBeanFactoryTests#withDuplicateNameInAlias */ public class DuplicateBeanIdTests { diff --git a/spring-context/src/test/java/org/springframework/aop/framework/AbstractAopProxyTests.java b/spring-context/src/test/java/org/springframework/aop/framework/AbstractAopProxyTests.java index fb5914f3b3..01f541ed89 100644 --- a/spring-context/src/test/java/org/springframework/aop/framework/AbstractAopProxyTests.java +++ b/spring-context/src/test/java/org/springframework/aop/framework/AbstractAopProxyTests.java @@ -765,7 +765,7 @@ public abstract class AbstractAopProxyTests { @SuppressWarnings("serial") class MyDi extends DelegatingIntroductionInterceptor implements TimeStamped { /** - * @see org.springframework.core.testfixture.util.TimeStamped#getTimeStamp() + * @see org.springframework.core.testfixture.TimeStamped#getTimeStamp() */ @Override public long getTimeStamp() { diff --git a/spring-core/src/main/java/org/springframework/core/env/ReadOnlySystemAttributesMap.java b/spring-core/src/main/java/org/springframework/core/env/ReadOnlySystemAttributesMap.java index 29c5198b59..37867bd1d4 100644 --- a/spring-core/src/main/java/org/springframework/core/env/ReadOnlySystemAttributesMap.java +++ b/spring-core/src/main/java/org/springframework/core/env/ReadOnlySystemAttributesMap.java @@ -27,7 +27,7 @@ import org.springframework.lang.Nullable; * Read-only {@code Map} implementation that is backed by system * properties or environment variables. * - *

Used by {@link AbstractApplicationContext} when a {@link SecurityManager} prohibits + *

Used by {@link AbstractEnvironment} when a {@link SecurityManager} prohibits * access to {@link System#getProperties()} or {@link System#getenv()}. It is for this * reason that the implementations of {@link #keySet()}, {@link #entrySet()}, and * {@link #values()} always return empty even though {@link #get(Object)} may in fact diff --git a/spring-core/src/test/java/org/springframework/core/annotation/AnnotatedElementUtilsTests.java b/spring-core/src/test/java/org/springframework/core/annotation/AnnotatedElementUtilsTests.java index 5cb78d611f..2957f31863 100644 --- a/spring-core/src/test/java/org/springframework/core/annotation/AnnotatedElementUtilsTests.java +++ b/spring-core/src/test/java/org/springframework/core/annotation/AnnotatedElementUtilsTests.java @@ -611,7 +611,7 @@ class AnnotatedElementUtilsTests { /** * Bridge/bridged method setup code copied from - * {@link org.springframework.core.BridgeMethodResolverTests#testWithGenericParameter()}. + * {@link org.springframework.core.BridgeMethodResolverTests#withGenericParameter()}. * @since 4.2 */ @Test diff --git a/spring-core/src/test/java/org/springframework/core/annotation/MultipleComposedAnnotationsOnSingleAnnotatedElementTests.java b/spring-core/src/test/java/org/springframework/core/annotation/MultipleComposedAnnotationsOnSingleAnnotatedElementTests.java index 138971e642..b201008380 100644 --- a/spring-core/src/test/java/org/springframework/core/annotation/MultipleComposedAnnotationsOnSingleAnnotatedElementTests.java +++ b/spring-core/src/test/java/org/springframework/core/annotation/MultipleComposedAnnotationsOnSingleAnnotatedElementTests.java @@ -184,7 +184,7 @@ class MultipleComposedAnnotationsOnSingleAnnotatedElementTests { /** * Bridge/bridged method setup code copied from - * {@link org.springframework.core.BridgeMethodResolverTests#testWithGenericParameter()}. + * {@link org.springframework.core.BridgeMethodResolverTests#withGenericParameter()}. */ Method getBridgeMethod() throws NoSuchMethodException { Method[] methods = StringGenericParameter.class.getMethods(); diff --git a/spring-web/src/main/java/org/springframework/http/codec/protobuf/ProtobufDecoder.java b/spring-web/src/main/java/org/springframework/http/codec/protobuf/ProtobufDecoder.java index b90dd9abc2..0e3739ae6e 100644 --- a/spring-web/src/main/java/org/springframework/http/codec/protobuf/ProtobufDecoder.java +++ b/spring-web/src/main/java/org/springframework/http/codec/protobuf/ProtobufDecoder.java @@ -268,7 +268,7 @@ public class ProtobufDecoder extends ProtobufCodecSupport implements DecoderBase 128 Varints + * @see Base 128 Varints */ private boolean readMessageSize(DataBuffer input) { if (this.offset == 0) { diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/view/tiles3/AbstractSpringPreparerFactory.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/view/tiles3/AbstractSpringPreparerFactory.java index 34143d539a..f6fdb90aea 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/view/tiles3/AbstractSpringPreparerFactory.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/view/tiles3/AbstractSpringPreparerFactory.java @@ -25,7 +25,7 @@ import org.springframework.web.context.WebApplicationContext; import org.springframework.web.servlet.DispatcherServlet; /** - * Abstract implementation of the Tiles {@link org.apache.tiles.preparer.PreparerFactory} + * Abstract implementation of the Tiles {@link org.apache.tiles.preparer.factory.PreparerFactory} * interface, obtaining the current Spring WebApplicationContext and delegating to * {@link #getPreparer(String, org.springframework.web.context.WebApplicationContext)}. * diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/view/tiles3/SimpleSpringPreparerFactory.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/view/tiles3/SimpleSpringPreparerFactory.java index a87a4932ae..0ef018d512 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/view/tiles3/SimpleSpringPreparerFactory.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/view/tiles3/SimpleSpringPreparerFactory.java @@ -28,7 +28,7 @@ import org.springframework.util.ClassUtils; import org.springframework.web.context.WebApplicationContext; /** - * Tiles {@link org.apache.tiles.preparer.PreparerFactory} implementation + * Tiles {@link org.apache.tiles.preparer.factory.PreparerFactory} implementation * that expects preparer class names and builds preparer instances for those, * creating them through the Spring ApplicationContext in order to apply * Spring container callbacks and configured Spring BeanPostProcessors. diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/view/tiles3/SpringBeanPreparerFactory.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/view/tiles3/SpringBeanPreparerFactory.java index 4108455d55..19e6cfec1f 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/view/tiles3/SpringBeanPreparerFactory.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/view/tiles3/SpringBeanPreparerFactory.java @@ -22,7 +22,7 @@ import org.apache.tiles.preparer.ViewPreparer; import org.springframework.web.context.WebApplicationContext; /** - * Tiles {@link org.apache.tiles.preparer.PreparerFactory} implementation + * Tiles {@link org.apache.tiles.preparer.factory.PreparerFactory} implementation * that expects preparer bean names and obtains preparer beans from the * Spring ApplicationContext. The full bean creation process will be in * the control of the Spring application context in this case, allowing