Skip to content

Commit abdccff

Browse files
theqeeqezsnicoll
authored andcommitted
Fix Javadoc
This commit fixes various Javadoc issues across the code base. See gh-32403
1 parent c1287d4 commit abdccff

File tree

22 files changed

+51
-51
lines changed

22 files changed

+51
-51
lines changed

spring-aop/src/testFixtures/java/org/springframework/aop/testfixture/mixin/LockMixin.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2023 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -45,7 +45,7 @@ public void unlock() {
4545
}
4646

4747
/**
48-
* @see test.mixin.AopProxyTests.Lockable#locked()
48+
* @see org.springframework.aop.testfixture.mixin.Lockable#locked()
4949
*/
5050
@Override
5151
public boolean locked() {
@@ -57,7 +57,7 @@ public boolean locked() {
5757
* If the method is a setter and we're locked, prevent execution.
5858
* Otherwise let super.invoke() handle it, and do normal
5959
* Lockable(this) then target behaviour.
60-
* @see org.aopalliance.MethodInterceptor#invoke(org.aopalliance.MethodInvocation)
60+
* @see org.aopalliance.intercept.MethodInterceptor#invoke(MethodInvocation)
6161
*/
6262
@Override
6363
public Object invoke(MethodInvocation invocation) throws Throwable {

spring-beans/src/main/java/org/springframework/beans/factory/support/MethodDescriptor.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2023 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -33,9 +33,9 @@ record MethodDescriptor(Class<?> declaringClass, String methodName, Class<?>...
3333

3434
/**
3535
* Create a {@link MethodDescriptor} for the supplied bean class and method name.
36-
* <p>The supplied {@code methodName} may be a {@linkplain Method#getName()
36+
* <p>The supplied {@code methodName} may be a {@linkplain java.lang.reflect.Method#getName()
3737
* simple method name} or a
38-
* {@linkplain org.springframework.util.ClassUtils#getQualifiedMethodName(Method)
38+
* {@linkplain org.springframework.util.ClassUtils#getQualifiedMethodName(java.lang.reflect.Method)
3939
* qualified method name}.
4040
* <p>If the method name is fully qualified, this utility will parse the
4141
* method name and its declaring class from the qualified method name and then

spring-beans/src/test/java/org/springframework/beans/ExtendedBeanInfoTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ class C {
554554
* IntrospectionException regarding a "type mismatch between indexed and non-indexed
555555
* methods" intermittently (approximately one out of every four times) under JDK 7
556556
* due to non-deterministic results from {@link Class#getDeclaredMethods()}.
557-
* See https://bugs.java.com/bugdatabase/view_bug.do?bug_id=7023180
557+
* @see <a href="https://bugs.java.com/bugdatabase/view_bug.do?bug_id=7023180">JDK-7023180 : Change in specified-to-be-unspecified ordering of getDeclaredMethods causes application problems</a>
558558
* @see #cornerSpr9702()
559559
*/
560560
@Test

spring-core/src/main/java/org/springframework/core/BridgeMethodResolver.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,9 @@ private static Method searchForMatch(Class<?> type, Method bridgeMethod) {
266266
/**
267267
* Compare the signatures of the bridge method and the method which it bridges. If
268268
* the parameter and return types are the same, it is a 'visibility' bridge method
269-
* introduced in Java 6 to fix https://bugs.openjdk.org/browse/JDK-6342411.
270-
* See also https://stas-blogspot.blogspot.com/2010/03/java-bridge-methods-explained.html
269+
* introduced in Java 6 to fix <a href="https://bugs.openjdk.org/browse/JDK-6342411">JDK-6342411</a>.
271270
* @return whether signatures match as described
271+
* @see <a href="https://stas-blogspot.blogspot.com/2010/03/java-bridge-methods-explained.html">Java bridge methods explained</a>
272272
*/
273273
public static boolean isVisibilityBridgeMethodPair(Method bridgeMethod, Method bridgedMethod) {
274274
if (bridgeMethod == bridgedMethod) {

spring-core/src/test/java/org/springframework/core/annotation/NestedRepeatableAnnotationsTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2022 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -39,7 +39,7 @@
3939
*
4040
* @author Sam Brannen
4141
* @since 5.3.24
42-
* @see https://github.com/spring-projects/spring-framework/issues/20279
42+
* @see <a href="https://github.com/spring-projects/spring-framework/issues/20279">gh-20279</a>
4343
*/
4444
@SuppressWarnings("unused")
4545
class NestedRepeatableAnnotationsTests {

spring-expression/src/main/java/org/springframework/expression/spel/ast/FunctionReference.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ private TypedValue executeFunctionViaMethod(ExpressionState state, Method method
163163
/**
164164
* Execute a function represented as {@link MethodHandle}.
165165
* <p>Method types that take no arguments (fully bound handles or static methods
166-
* with no parameters) can use {@link MethodHandle#invoke()} which is the most
167-
* efficient. Otherwise, {@link MethodHandle#invokeWithArguments()} is used.
166+
* with no parameters) can use {@link MethodHandle#invoke(Object... var1)} which is the most
167+
* efficient. Otherwise, {@link MethodHandle#invokeWithArguments(Object... arguments)} is used.
168168
* @param state the expression evaluation state
169169
* @param methodHandle the method handle to invoke
170170
* @return the return value of the invoked Java method

spring-expression/src/test/java/org/springframework/expression/spel/ScenariosForSpringSecurityExpressionTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
///CLOVER:OFF
4141
/**
42-
* Spring Security scenarios from https://docs.spring.io/spring-security/reference/servlet/authorization/expression-based.html
42+
* Spring Security scenarios from <a href="https://docs.spring.io/spring-security/reference/servlet/authorization/authorize-http-requests.html#authorization-expressions">Expressing Authorization with SpEL</a>
4343
*
4444
* @author Andy Clement
4545
*/

spring-jdbc/src/test/java/org/springframework/jdbc/datasource/init/H2DatabasePopulatorTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ protected EmbeddedDatabaseType getEmbeddedDatabaseType() {
4444
}
4545

4646
/**
47-
* https://jira.spring.io/browse/SPR-15896
47+
* <a href="https://jira.spring.io/browse/SPR-15896">SPR-15896</a>
4848
*
4949
* @since 5.0
5050
*/
@@ -62,7 +62,7 @@ void scriptWithH2Alias() {
6262
}
6363

6464
/**
65-
* https://github.com/spring-projects/spring-framework/issues/27008
65+
* <a href="https://github.com/spring-projects/spring-framework/issues/27008">gh-27008</a>
6666
*
6767
* @since 5.3.11
6868
*/

spring-messaging/src/main/java/org/springframework/messaging/simp/SimpMessagingTemplate.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2023 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -130,7 +130,7 @@ public MessageHeaderInitializer getHeaderInitializer() {
130130
* SimpMessageHeaderAccessor#DESTINATION_HEADER} then the message is sent without
131131
* further changes.
132132
* <p>If a destination header is not already present ,the message is sent
133-
* to the configured {@link #setDefaultDestination(Object) defaultDestination}
133+
* to the configured {@link AbstractMessageSendingTemplate#setDefaultDestination(Object) defaultDestination}
134134
* or an exception an {@code IllegalStateException} is raised if that isn't
135135
* configured.
136136
* @param message the message to send (never {@code null})

spring-test/src/test/java/org/springframework/test/context/event/DirtiesContextEventPublishingTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2022 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -49,7 +49,7 @@
4949
*
5050
* @author Sam Brannen
5151
* @since 5.3.17
52-
* @see https://github.com/spring-projects/spring-framework/issues/27757
52+
* @see <a href="https://github.com/spring-projects/spring-framework/issues/27757">gh-27757</a>
5353
*/
5454
class DirtiesContextEventPublishingTests {
5555

0 commit comments

Comments
 (0)