Skip to content

Commit 30fcaef

Browse files
ngocnhan-tran1996sbrannen
authored andcommitted
Remove unnecessary closing curly brackets in Javadoc
Closes gh-34679 Signed-off-by: Tran Ngoc Nhan <[email protected]>
1 parent 75e5a75 commit 30fcaef

File tree

10 files changed

+13
-13
lines changed

10 files changed

+13
-13
lines changed

spring-aop/src/main/java/org/springframework/aop/aspectj/annotation/ReflectiveAspectJAdvisorFactory.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public ReflectiveAspectJAdvisorFactory() {
111111
* Create a new {@code ReflectiveAspectJAdvisorFactory}, propagating the given
112112
* {@link BeanFactory} to the created {@link AspectJExpressionPointcut} instances,
113113
* for bean pointcut handling as well as consistent {@link ClassLoader} resolution.
114-
* @param beanFactory the BeanFactory to propagate (may be {@code null}}
114+
* @param beanFactory the BeanFactory to propagate (may be {@code null})
115115
* @since 4.3.6
116116
* @see AspectJExpressionPointcut#setBeanFactory
117117
* @see org.springframework.beans.factory.config.ConfigurableBeanFactory#getBeanClassLoader()

spring-core/src/main/java/org/springframework/asm/SymbolTable.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1473,7 +1473,7 @@ private static final class LabelEntry {
14731473

14741474
/**
14751475
* Another entry (and so on recursively) having the same hash code (modulo the size of {@link
1476-
* SymbolTable#labelEntries}}) as this one.
1476+
* SymbolTable#labelEntries}) as this one.
14771477
*/
14781478
LabelEntry next;
14791479

spring-core/src/main/java/org/springframework/util/ObjectUtils.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ public static int nullSafeHash(@Nullable Object... elements) {
411411

412412
/**
413413
* Return a hash code for the given object; typically the value of
414-
* {@code Object#hashCode()}}. If the object is an array,
414+
* {@code Object#hashCode()}. If the object is an array,
415415
* this method will delegate to any of the {@code Arrays.hashCode}
416416
* methods. If the object is {@code null}, this method returns 0.
417417
* @see Object#hashCode()

spring-jms/src/main/java/org/springframework/jms/connection/UserCredentialsConnectionFactoryAdapter.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* given user credentials to every standard methods that can also be used with
3737
* authentication, this {@code createConnection()} and {@code createContext()}. In
3838
* other words, it is implicitly invoking {@code createConnection(username, password)} or
39-
* {@code createContext(username, password)}} on the target. All other methods simply
39+
* {@code createContext(username, password)} on the target. All other methods simply
4040
* delegate to the corresponding methods of the target ConnectionFactory.
4141
*
4242
* <p>Can be used to proxy a target JNDI ConnectionFactory that does not have user

spring-jms/src/main/java/org/springframework/jms/support/converter/MessagingMessageConverter.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ protected Object extractPayload(jakarta.jms.Message message) throws JMSException
132132
/**
133133
* Create a JMS message for the specified payload and conversionHint.
134134
* The conversion hint is an extra object passed to the {@link MessageConverter},
135-
* for example, the associated {@code MethodParameter} (may be {@code null}}.
135+
* for example, the associated {@code MethodParameter} (may be {@code null}).
136136
* @since 4.3
137137
* @see MessageConverter#toMessage(Object, Session)
138138
*/

spring-jms/src/main/java/org/springframework/jms/support/converter/SmartMessageConverter.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public interface SmartMessageConverter extends MessageConverter {
4141
* @param object the object to convert
4242
* @param session the Session to use for creating a JMS Message
4343
* @param conversionHint an extra object passed to the {@link MessageConverter},
44-
* for example, the associated {@code MethodParameter} (may be {@code null}}
44+
* for example, the associated {@code MethodParameter} (may be {@code null})
4545
* @return the JMS Message
4646
* @throws jakarta.jms.JMSException if thrown by JMS API methods
4747
* @throws MessageConversionException in case of conversion failure

spring-messaging/src/main/java/org/springframework/messaging/converter/AbstractMessageConverter.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ protected MimeType getDefaultContentType(Object payload) {
283283
* @param message the input message
284284
* @param targetClass the target class for the conversion
285285
* @param conversionHint an extra object passed to the {@link MessageConverter},
286-
* for example, the associated {@code MethodParameter} (may be {@code null}}
286+
* for example, the associated {@code MethodParameter} (may be {@code null})
287287
* @return the result of the conversion, or {@code null} if the converter cannot
288288
* perform the conversion
289289
* @since 4.2
@@ -300,7 +300,7 @@ protected Object convertFromInternal(
300300
* @param payload the Object to convert
301301
* @param headers optional headers for the message (may be {@code null})
302302
* @param conversionHint an extra object passed to the {@link MessageConverter},
303-
* for example, the associated {@code MethodParameter} (may be {@code null}}
303+
* for example, the associated {@code MethodParameter} (may be {@code null})
304304
* @return the resulting payload for the message, or {@code null} if the converter
305305
* cannot perform the conversion
306306
* @since 4.2

spring-messaging/src/main/java/org/springframework/messaging/converter/SmartMessageConverter.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public interface SmartMessageConverter extends MessageConverter {
3939
* @param message the input message
4040
* @param targetClass the target class for the conversion
4141
* @param conversionHint an extra object passed to the {@link MessageConverter},
42-
* for example, the associated {@code MethodParameter} (may be {@code null}}
42+
* for example, the associated {@code MethodParameter} (may be {@code null})
4343
* @return the result of the conversion, or {@code null} if the converter cannot
4444
* perform the conversion
4545
* @see #fromMessage(Message, Class)
@@ -54,7 +54,7 @@ public interface SmartMessageConverter extends MessageConverter {
5454
* @param payload the Object to convert
5555
* @param headers optional headers for the message (may be {@code null})
5656
* @param conversionHint an extra object passed to the {@link MessageConverter},
57-
* for example, the associated {@code MethodParameter} (may be {@code null}}
57+
* for example, the associated {@code MethodParameter} (may be {@code null})
5858
* @return the new message, or {@code null} if the converter does not support the
5959
* Object type or the target media type
6060
* @see #toMessage(Object, MessageHeaders)

spring-web/src/main/java/org/springframework/http/server/observation/ServerHttpObservationDocumentation.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public String asString() {
8989
},
9090

9191
/**
92-
* Name of the exception thrown during the exchange, or {@value KeyValue#NONE_VALUE}} if no exception happened.
92+
* Name of the exception thrown during the exchange, or {@value KeyValue#NONE_VALUE} if no exception happened.
9393
*/
9494
EXCEPTION {
9595
@Override

spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/MvcUriComponentsBuilder.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ protected MvcUriComponentsBuilder(UriComponentsBuilder baseUrl) {
139139

140140
/**
141141
* Create an instance of this class with a base URL. After that calls to one
142-
* of the instance based {@code withXxx(...}} methods will create URLs relative
142+
* of the instance based {@code withXxx(...)} methods will create URLs relative
143143
* to the given base URL.
144144
*/
145145
public static MvcUriComponentsBuilder relativeTo(UriComponentsBuilder baseUrl) {
@@ -490,7 +490,7 @@ public UriComponentsBuilder withController(Class<?> controllerType) {
490490
}
491491

492492
/**
493-
* An alternative to {@link #fromMethodName(Class, String, Object...)}} for
493+
* An alternative to {@link #fromMethodName(Class, String, Object...)} for
494494
* use with an instance of this class created via {@link #relativeTo}.
495495
* <p><strong>Note:</strong> This method extracts values from "Forwarded"
496496
* and "X-Forwarded-*" headers if found. See class-level docs.

0 commit comments

Comments
 (0)