Fix Javadoc @code tags

Signed-off-by: Johnny Lim <izeye@naver.com>
This commit is contained in:
Johnny Lim 2025-01-30 13:33:42 +09:00
parent d4030a87e2
commit 042b78f609
8 changed files with 14 additions and 14 deletions

View File

@ -123,7 +123,7 @@ public final class SpringProperties {
* Retrieve the flag for the given property key.
* @param key the property key
* @return {@code true} if the property is set to the string "true"
* (ignoring case), {@code} false otherwise
* (ignoring case), {@code false} otherwise
*/
public static boolean getFlag(String key) {
return Boolean.parseBoolean(getProperty(key));

View File

@ -163,7 +163,7 @@ public interface JdbcOperations {
* @param sql the SQL query to execute
* @param rowMapper a callback that will map one object per row
* @return the single mapped object (may be {@code null} if the given
* {@link RowMapper} returned {@code} null)
* {@link RowMapper} returned {@code null})
* @throws org.springframework.dao.IncorrectResultSizeDataAccessException
* if the query does not return exactly one row
* @throws DataAccessException if there is any problem executing the query
@ -598,7 +598,7 @@ public interface JdbcOperations {
* (constants from {@code java.sql.Types})
* @param rowMapper a callback that will map one object per row
* @return the single mapped object (may be {@code null} if the given
* {@link RowMapper} returned {@code} null)
* {@link RowMapper} returned {@code null})
* @throws org.springframework.dao.IncorrectResultSizeDataAccessException
* if the query does not return exactly one row
* @throws DataAccessException if the query fails
@ -617,7 +617,7 @@ public interface JdbcOperations {
* only the argument value but also the SQL type and optionally the scale
* @param rowMapper a callback that will map one object per row
* @return the single mapped object (may be {@code null} if the given
* {@link RowMapper} returned {@code} null)
* {@link RowMapper} returned {@code null})
* @throws org.springframework.dao.IncorrectResultSizeDataAccessException
* if the query does not return exactly one row
* @throws DataAccessException if the query fails
@ -637,7 +637,7 @@ public interface JdbcOperations {
* may also contain {@link SqlParameterValue} objects which indicate not
* only the argument value but also the SQL type and optionally the scale
* @return the single mapped object (may be {@code null} if the given
* {@link RowMapper} returned {@code} null)
* {@link RowMapper} returned {@code null})
* @throws org.springframework.dao.IncorrectResultSizeDataAccessException
* if the query does not return exactly one row
* @throws DataAccessException if the query fails

View File

@ -267,7 +267,7 @@ public interface NamedParameterJdbcOperations {
* @param paramSource container of arguments to bind to the query
* @param rowMapper object that will map one object per row
* @return the single mapped object (may be {@code null} if the given
* {@link RowMapper} returned {@code} null)
* {@link RowMapper} returned {@code null})
* @throws org.springframework.dao.IncorrectResultSizeDataAccessException
* if the query does not return exactly one row
* @throws DataAccessException if the query fails
@ -284,7 +284,7 @@ public interface NamedParameterJdbcOperations {
* (leaving it to the PreparedStatement to guess the corresponding SQL type)
* @param rowMapper object that will map one object per row
* @return the single mapped object (may be {@code null} if the given
* {@link RowMapper} returned {@code} null)
* {@link RowMapper} returned {@code null})
* @throws org.springframework.dao.IncorrectResultSizeDataAccessException
* if the query does not return exactly one row
* @throws DataAccessException if the query fails

View File

@ -33,8 +33,8 @@ public class BrokerAvailabilityEvent extends ApplicationEvent {
/**
* Creates a new {@code BrokerAvailabilityEvent}.
*
* @param brokerAvailable {@code true} if the broker is available, {@code}
* false otherwise
* @param brokerAvailable {@code true} if the broker is available, {@code
* false} otherwise
* @param source the component that is acting as the broker, or as a relay
* for an external broker, that has changed availability. Must not be {@code
* null}.

View File

@ -124,7 +124,7 @@ public interface AotTestAttributes {
* Retrieve the attribute value for the given name as a {@code boolean}.
* @param name the unique attribute name
* @return {@code true} if the attribute is set to "true" (ignoring case),
* {@code} false otherwise
* {@code false} otherwise
* @see #getString(String)
* @see #setAttribute(String, String)
* @see Boolean#parseBoolean(String)

View File

@ -144,7 +144,7 @@ public abstract class AbstractMessageEndpointFactory implements MessageEndpointF
/**
* Implementation of the JCA 1.7 {@code #getEndpointClass()} method,
* returning {@code} null in order to indicate a synthetic endpoint type.
* returning {@code null} in order to indicate a synthetic endpoint type.
*/
@Override
public @Nullable Class<?> getEndpointClass() {

View File

@ -133,7 +133,7 @@ public abstract class AbstractJsonHttpMessageConverter extends AbstractGenericHt
/**
* Template method that reads the JSON-bound object from the given {@link Reader}.
* @param resolvedType the resolved generic type
* @param reader the {@code} Reader to use
* @param reader the {@code Reader} to use
* @return the JSON-bound object
* @throws Exception in case of read/parse failures
*/
@ -143,7 +143,7 @@ public abstract class AbstractJsonHttpMessageConverter extends AbstractGenericHt
* Template method that writes the JSON-bound object to the given {@link Writer}.
* @param object the object to write to the output message
* @param type the type of object to write (may be {@code null})
* @param writer the {@code} Writer to use
* @param writer the {@code Writer} to use
* @throws Exception in case of write failures
*/
protected abstract void writeInternal(Object object, @Nullable Type type, Writer writer) throws Exception;

View File

@ -66,7 +66,7 @@ public abstract class ResourceTransformerSupport implements ResourceTransformer
* @param request the current request
* @param resource the resource being transformed
* @param transformerChain the transformer chain
* @return the resolved URL, or {@code} if not resolvable
* @return the resolved URL, or {@code null} if not resolvable
*/
protected @Nullable String resolveUrlPath(String resourcePath, HttpServletRequest request,
Resource resource, ResourceTransformerChain transformerChain) {