Browse Source

Remove unnecessary closing curly brackets in Javadoc

Closes gh-34679

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
pull/34732/head
Tran Ngoc Nhan 9 months ago committed by Sam Brannen
parent
commit
30fcaef813
  1. 2
      spring-aop/src/main/java/org/springframework/aop/aspectj/annotation/ReflectiveAspectJAdvisorFactory.java
  2. 2
      spring-core/src/main/java/org/springframework/asm/SymbolTable.java
  3. 2
      spring-core/src/main/java/org/springframework/util/ObjectUtils.java
  4. 2
      spring-jms/src/main/java/org/springframework/jms/connection/UserCredentialsConnectionFactoryAdapter.java
  5. 2
      spring-jms/src/main/java/org/springframework/jms/support/converter/MessagingMessageConverter.java
  6. 2
      spring-jms/src/main/java/org/springframework/jms/support/converter/SmartMessageConverter.java
  7. 4
      spring-messaging/src/main/java/org/springframework/messaging/converter/AbstractMessageConverter.java
  8. 4
      spring-messaging/src/main/java/org/springframework/messaging/converter/SmartMessageConverter.java
  9. 2
      spring-web/src/main/java/org/springframework/http/server/observation/ServerHttpObservationDocumentation.java
  10. 4
      spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/MvcUriComponentsBuilder.java

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

@ -111,7 +111,7 @@ public class ReflectiveAspectJAdvisorFactory extends AbstractAspectJAdvisorFacto @@ -111,7 +111,7 @@ public class ReflectiveAspectJAdvisorFactory extends AbstractAspectJAdvisorFacto
* Create a new {@code ReflectiveAspectJAdvisorFactory}, propagating the given
* {@link BeanFactory} to the created {@link AspectJExpressionPointcut} instances,
* for bean pointcut handling as well as consistent {@link ClassLoader} resolution.
* @param beanFactory the BeanFactory to propagate (may be {@code null}}
* @param beanFactory the BeanFactory to propagate (may be {@code null})
* @since 4.3.6
* @see AspectJExpressionPointcut#setBeanFactory
* @see org.springframework.beans.factory.config.ConfigurableBeanFactory#getBeanClassLoader()

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

@ -1473,7 +1473,7 @@ final class SymbolTable { @@ -1473,7 +1473,7 @@ final class SymbolTable {
/**
* Another entry (and so on recursively) having the same hash code (modulo the size of {@link
* SymbolTable#labelEntries}}) as this one.
* SymbolTable#labelEntries}) as this one.
*/
LabelEntry next;

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

@ -411,7 +411,7 @@ public abstract class ObjectUtils { @@ -411,7 +411,7 @@ public abstract class ObjectUtils {
/**
* Return a hash code for the given object; typically the value of
* {@code Object#hashCode()}}. If the object is an array,
* {@code Object#hashCode()}. If the object is an array,
* this method will delegate to any of the {@code Arrays.hashCode}
* methods. If the object is {@code null}, this method returns 0.
* @see Object#hashCode()

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

@ -36,7 +36,7 @@ import org.springframework.util.StringUtils; @@ -36,7 +36,7 @@ import org.springframework.util.StringUtils;
* given user credentials to every standard methods that can also be used with
* authentication, this {@code createConnection()} and {@code createContext()}. In
* other words, it is implicitly invoking {@code createConnection(username, password)} or
* {@code createContext(username, password)}} on the target. All other methods simply
* {@code createContext(username, password)} on the target. All other methods simply
* delegate to the corresponding methods of the target ConnectionFactory.
*
* <p>Can be used to proxy a target JNDI ConnectionFactory that does not have user

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

@ -132,7 +132,7 @@ public class MessagingMessageConverter implements MessageConverter, Initializing @@ -132,7 +132,7 @@ public class MessagingMessageConverter implements MessageConverter, Initializing
/**
* Create a JMS message for the specified payload and conversionHint.
* The conversion hint is an extra object passed to the {@link MessageConverter},
* for example, the associated {@code MethodParameter} (may be {@code null}}.
* for example, the associated {@code MethodParameter} (may be {@code null}).
* @since 4.3
* @see MessageConverter#toMessage(Object, Session)
*/

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

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

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

@ -283,7 +283,7 @@ public abstract class AbstractMessageConverter implements SmartMessageConverter @@ -283,7 +283,7 @@ public abstract class AbstractMessageConverter implements SmartMessageConverter
* @param message the input message
* @param targetClass the target class for the conversion
* @param conversionHint an extra object passed to the {@link MessageConverter},
* for example, the associated {@code MethodParameter} (may be {@code null}}
* for example, the associated {@code MethodParameter} (may be {@code null})
* @return the result of the conversion, or {@code null} if the converter cannot
* perform the conversion
* @since 4.2
@ -300,7 +300,7 @@ public abstract class AbstractMessageConverter implements SmartMessageConverter @@ -300,7 +300,7 @@ public abstract class AbstractMessageConverter implements SmartMessageConverter
* @param payload the Object to convert
* @param headers optional headers for the message (may be {@code null})
* @param conversionHint an extra object passed to the {@link MessageConverter},
* for example, the associated {@code MethodParameter} (may be {@code null}}
* for example, the associated {@code MethodParameter} (may be {@code null})
* @return the resulting payload for the message, or {@code null} if the converter
* cannot perform the conversion
* @since 4.2

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

@ -39,7 +39,7 @@ public interface SmartMessageConverter extends MessageConverter { @@ -39,7 +39,7 @@ public interface SmartMessageConverter extends MessageConverter {
* @param message the input message
* @param targetClass the target class for the conversion
* @param conversionHint an extra object passed to the {@link MessageConverter},
* for example, the associated {@code MethodParameter} (may be {@code null}}
* for example, the associated {@code MethodParameter} (may be {@code null})
* @return the result of the conversion, or {@code null} if the converter cannot
* perform the conversion
* @see #fromMessage(Message, Class)
@ -54,7 +54,7 @@ public interface SmartMessageConverter extends MessageConverter { @@ -54,7 +54,7 @@ public interface SmartMessageConverter extends MessageConverter {
* @param payload the Object to convert
* @param headers optional headers for the message (may be {@code null})
* @param conversionHint an extra object passed to the {@link MessageConverter},
* for example, the associated {@code MethodParameter} (may be {@code null}}
* for example, the associated {@code MethodParameter} (may be {@code null})
* @return the new message, or {@code null} if the converter does not support the
* Object type or the target media type
* @see #toMessage(Object, MessageHeaders)

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

@ -89,7 +89,7 @@ public enum ServerHttpObservationDocumentation implements ObservationDocumentati @@ -89,7 +89,7 @@ public enum ServerHttpObservationDocumentation implements ObservationDocumentati
},
/**
* Name of the exception thrown during the exchange, or {@value KeyValue#NONE_VALUE}} if no exception happened.
* Name of the exception thrown during the exchange, or {@value KeyValue#NONE_VALUE} if no exception happened.
*/
EXCEPTION {
@Override

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

@ -139,7 +139,7 @@ public class MvcUriComponentsBuilder { @@ -139,7 +139,7 @@ public class MvcUriComponentsBuilder {
/**
* Create an instance of this class with a base URL. After that calls to one
* of the instance based {@code withXxx(...}} methods will create URLs relative
* of the instance based {@code withXxx(...)} methods will create URLs relative
* to the given base URL.
*/
public static MvcUriComponentsBuilder relativeTo(UriComponentsBuilder baseUrl) {
@ -490,7 +490,7 @@ public class MvcUriComponentsBuilder { @@ -490,7 +490,7 @@ public class MvcUriComponentsBuilder {
}
/**
* An alternative to {@link #fromMethodName(Class, String, Object...)}} for
* An alternative to {@link #fromMethodName(Class, String, Object...)} for
* use with an instance of this class created via {@link #relativeTo}.
* <p><strong>Note:</strong> This method extracts values from "Forwarded"
* and "X-Forwarded-*" headers if found. See class-level docs.

Loading…
Cancel
Save