diff --git a/spring-context-support/src/main/java/org/springframework/mail/javamail/JavaMailSenderImpl.java b/spring-context-support/src/main/java/org/springframework/mail/javamail/JavaMailSenderImpl.java index 06d0e12608..6e0eb50ff5 100644 --- a/spring-context-support/src/main/java/org/springframework/mail/javamail/JavaMailSenderImpl.java +++ b/spring-context-support/src/main/java/org/springframework/mail/javamail/JavaMailSenderImpl.java @@ -132,10 +132,10 @@ public class JavaMailSenderImpl implements JavaMailSender { } /** - * Allow {code Map} access to the JavaMail properties of this sender, + * Allow {@code Map} access to the JavaMail properties of this sender, * with the option to add or override specific entries. *

Useful for specifying entries directly, for example via - * {code javaMailProperties[mail.smtp.auth]}. + * {@code javaMailProperties[mail.smtp.auth]}. */ public Properties getJavaMailProperties() { return this.javaMailProperties; diff --git a/spring-core/src/main/java/org/springframework/asm/RecordComponentWriter.java b/spring-core/src/main/java/org/springframework/asm/RecordComponentWriter.java index bd007ac26d..c36d2054fc 100644 --- a/spring-core/src/main/java/org/springframework/asm/RecordComponentWriter.java +++ b/spring-core/src/main/java/org/springframework/asm/RecordComponentWriter.java @@ -37,7 +37,7 @@ final class RecordComponentWriter extends RecordComponentVisitor { /** The name_index field of the Record attribute. */ private final int nameIndex; - /** The descriptor_index field of the the Record attribute. */ + /** The descriptor_index field of the Record attribute. */ private final int descriptorIndex; /** diff --git a/spring-core/src/main/java/org/springframework/util/InstanceFilter.java b/spring-core/src/main/java/org/springframework/util/InstanceFilter.java index 3eb69149e1..f47683f8ce 100644 --- a/spring-core/src/main/java/org/springframework/util/InstanceFilter.java +++ b/spring-core/src/main/java/org/springframework/util/InstanceFilter.java @@ -64,7 +64,7 @@ public class InstanceFilter { /** - * Determine if the specified {code instance} matches this filter. + * Determine if the specified {@code instance} matches this filter. */ public boolean match(T instance) { Assert.notNull(instance, "Instance to match must not be null"); diff --git a/spring-r2dbc/src/main/java/org/springframework/r2dbc/core/DatabaseClient.java b/spring-r2dbc/src/main/java/org/springframework/r2dbc/core/DatabaseClient.java index 8ef54b3715..71569e1901 100644 --- a/spring-r2dbc/src/main/java/org/springframework/r2dbc/core/DatabaseClient.java +++ b/spring-r2dbc/src/main/java/org/springframework/r2dbc/core/DatabaseClient.java @@ -80,7 +80,7 @@ public interface DatabaseClient extends ConnectionAccessor { * bind markers or named parameters (e.g. {@literal :foo, :bar}) when * {@link NamedParameterExpander} is enabled. *

Accepts {@link PreparedOperation} as SQL and binding {@link Supplier}. - *

{code DatabaseClient} implementations should defer the resolution of + *

{@code DatabaseClient} implementations should defer the resolution of * the SQL string as much as possible, ideally up to the point where a * {@code Subscription} happens. This is the case for the default implementation. * @param sqlSupplier a supplier for the SQL statement diff --git a/spring-test/src/main/java/org/springframework/test/web/servlet/result/XpathResultMatchers.java b/spring-test/src/main/java/org/springframework/test/web/servlet/result/XpathResultMatchers.java index 4528d2b40d..dd3256f22f 100644 --- a/spring-test/src/main/java/org/springframework/test/web/servlet/result/XpathResultMatchers.java +++ b/spring-test/src/main/java/org/springframework/test/web/servlet/result/XpathResultMatchers.java @@ -83,7 +83,7 @@ public class XpathResultMatchers { } /** - * Get the response encoding if explicitly defined in the response, {code null} otherwise. + * Get the response encoding if explicitly defined in the response, {@code null} otherwise. */ @Nullable private String getDefinedEncoding(MockHttpServletResponse response) { 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 4804dcf1f4..72000d63ed 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 @@ -265,7 +265,7 @@ public class ProtobufDecoder extends ProtobufCodecSupport implements DecoderBase 128 Varints */ diff --git a/spring-web/src/main/java/org/springframework/web/cors/CorsUtils.java b/spring-web/src/main/java/org/springframework/web/cors/CorsUtils.java index eec489d6cc..b34f3167a1 100644 --- a/spring-web/src/main/java/org/springframework/web/cors/CorsUtils.java +++ b/spring-web/src/main/java/org/springframework/web/cors/CorsUtils.java @@ -66,7 +66,7 @@ public abstract class CorsUtils { } /** - * Returns {@code true} if the request is a valid CORS pre-flight one by checking {code OPTIONS} method with + * Returns {@code true} if the request is a valid CORS pre-flight one by checking {@code OPTIONS} method with * {@code Origin} and {@code Access-Control-Request-Method} headers presence. */ public static boolean isPreFlightRequest(HttpServletRequest request) { diff --git a/spring-web/src/main/java/org/springframework/web/cors/reactive/CorsUtils.java b/spring-web/src/main/java/org/springframework/web/cors/reactive/CorsUtils.java index 1d78ed9aab..4a1be8b56c 100644 --- a/spring-web/src/main/java/org/springframework/web/cors/reactive/CorsUtils.java +++ b/spring-web/src/main/java/org/springframework/web/cors/reactive/CorsUtils.java @@ -45,7 +45,7 @@ public abstract class CorsUtils { } /** - * Returns {@code true} if the request is a valid CORS pre-flight one by checking {code OPTIONS} method with + * Returns {@code true} if the request is a valid CORS pre-flight one by checking {@code OPTIONS} method with * {@code Origin} and {@code Access-Control-Request-Method} headers presence. */ public static boolean isPreFlightRequest(ServerHttpRequest request) {