Skip to content

Commit 9f32346

Browse files
Remove obsolete braces
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
1 parent ac7c7ff commit 9f32346

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

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

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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ public static int nullSafeHash(@Nullable Object @Nullable ... 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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

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

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ protected boolean supportsMimeType(@Nullable MessageHeaders headers) {
275275
* @param message the input message
276276
* @param targetClass the target class for the conversion
277277
* @param conversionHint an extra object passed to the {@link MessageConverter},
278-
* for example, the associated {@code MethodParameter} (may be {@code null}}
278+
* for example, the associated {@code MethodParameter} (may be {@code null})
279279
* @return the result of the conversion, or {@code null} if the converter cannot
280280
* perform the conversion
281281
* @since 4.2
@@ -291,7 +291,7 @@ protected boolean supportsMimeType(@Nullable MessageHeaders headers) {
291291
* @param payload the Object to convert
292292
* @param headers optional headers for the message (may be {@code null})
293293
* @param conversionHint an extra object passed to the {@link MessageConverter},
294-
* for example, the associated {@code MethodParameter} (may be {@code null}}
294+
* for example, the associated {@code MethodParameter} (may be {@code null})
295295
* @return the resulting payload for the message, or {@code null} if the converter
296296
* cannot perform the conversion
297297
* @since 4.2

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public interface SmartMessageConverter extends MessageConverter {
4040
* @param message the input message
4141
* @param targetClass the target class for the conversion
4242
* @param conversionHint an extra object passed to the {@link MessageConverter},
43-
* for example, the associated {@code MethodParameter} (may be {@code null}}
43+
* for example, the associated {@code MethodParameter} (may be {@code null})
4444
* @return the result of the conversion, or {@code null} if the converter cannot
4545
* perform the conversion
4646
* @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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 2 additions & 2 deletions
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)