Fix Javadoc @code tags
Signed-off-by: Johnny Lim <izeye@naver.com>
This commit is contained in:
parent
d4030a87e2
commit
042b78f609
|
@ -123,7 +123,7 @@ public final class SpringProperties {
|
||||||
* Retrieve the flag for the given property key.
|
* Retrieve the flag for the given property key.
|
||||||
* @param key the property key
|
* @param key the property key
|
||||||
* @return {@code true} if the property is set to the string "true"
|
* @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) {
|
public static boolean getFlag(String key) {
|
||||||
return Boolean.parseBoolean(getProperty(key));
|
return Boolean.parseBoolean(getProperty(key));
|
||||||
|
|
|
@ -163,7 +163,7 @@ public interface JdbcOperations {
|
||||||
* @param sql the SQL query to execute
|
* @param sql the SQL query to execute
|
||||||
* @param rowMapper a callback that will map one object per row
|
* @param rowMapper a callback that will map one object per row
|
||||||
* @return the single mapped object (may be {@code null} if the given
|
* @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
|
* @throws org.springframework.dao.IncorrectResultSizeDataAccessException
|
||||||
* if the query does not return exactly one row
|
* if the query does not return exactly one row
|
||||||
* @throws DataAccessException if there is any problem executing the query
|
* @throws DataAccessException if there is any problem executing the query
|
||||||
|
@ -598,7 +598,7 @@ public interface JdbcOperations {
|
||||||
* (constants from {@code java.sql.Types})
|
* (constants from {@code java.sql.Types})
|
||||||
* @param rowMapper a callback that will map one object per row
|
* @param rowMapper a callback that will map one object per row
|
||||||
* @return the single mapped object (may be {@code null} if the given
|
* @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
|
* @throws org.springframework.dao.IncorrectResultSizeDataAccessException
|
||||||
* if the query does not return exactly one row
|
* if the query does not return exactly one row
|
||||||
* @throws DataAccessException if the query fails
|
* @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
|
* only the argument value but also the SQL type and optionally the scale
|
||||||
* @param rowMapper a callback that will map one object per row
|
* @param rowMapper a callback that will map one object per row
|
||||||
* @return the single mapped object (may be {@code null} if the given
|
* @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
|
* @throws org.springframework.dao.IncorrectResultSizeDataAccessException
|
||||||
* if the query does not return exactly one row
|
* if the query does not return exactly one row
|
||||||
* @throws DataAccessException if the query fails
|
* @throws DataAccessException if the query fails
|
||||||
|
@ -637,7 +637,7 @@ public interface JdbcOperations {
|
||||||
* may also contain {@link SqlParameterValue} objects which indicate not
|
* may also contain {@link SqlParameterValue} objects which indicate not
|
||||||
* only the argument value but also the SQL type and optionally the scale
|
* 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
|
* @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
|
* @throws org.springframework.dao.IncorrectResultSizeDataAccessException
|
||||||
* if the query does not return exactly one row
|
* if the query does not return exactly one row
|
||||||
* @throws DataAccessException if the query fails
|
* @throws DataAccessException if the query fails
|
||||||
|
|
|
@ -267,7 +267,7 @@ public interface NamedParameterJdbcOperations {
|
||||||
* @param paramSource container of arguments to bind to the query
|
* @param paramSource container of arguments to bind to the query
|
||||||
* @param rowMapper object that will map one object per row
|
* @param rowMapper object that will map one object per row
|
||||||
* @return the single mapped object (may be {@code null} if the given
|
* @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
|
* @throws org.springframework.dao.IncorrectResultSizeDataAccessException
|
||||||
* if the query does not return exactly one row
|
* if the query does not return exactly one row
|
||||||
* @throws DataAccessException if the query fails
|
* @throws DataAccessException if the query fails
|
||||||
|
@ -284,7 +284,7 @@ public interface NamedParameterJdbcOperations {
|
||||||
* (leaving it to the PreparedStatement to guess the corresponding SQL type)
|
* (leaving it to the PreparedStatement to guess the corresponding SQL type)
|
||||||
* @param rowMapper object that will map one object per row
|
* @param rowMapper object that will map one object per row
|
||||||
* @return the single mapped object (may be {@code null} if the given
|
* @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
|
* @throws org.springframework.dao.IncorrectResultSizeDataAccessException
|
||||||
* if the query does not return exactly one row
|
* if the query does not return exactly one row
|
||||||
* @throws DataAccessException if the query fails
|
* @throws DataAccessException if the query fails
|
||||||
|
|
|
@ -33,8 +33,8 @@ public class BrokerAvailabilityEvent extends ApplicationEvent {
|
||||||
/**
|
/**
|
||||||
* Creates a new {@code BrokerAvailabilityEvent}.
|
* Creates a new {@code BrokerAvailabilityEvent}.
|
||||||
*
|
*
|
||||||
* @param brokerAvailable {@code true} if the broker is available, {@code}
|
* @param brokerAvailable {@code true} if the broker is available, {@code
|
||||||
* false otherwise
|
* false} otherwise
|
||||||
* @param source the component that is acting as the broker, or as a relay
|
* @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
|
* for an external broker, that has changed availability. Must not be {@code
|
||||||
* null}.
|
* null}.
|
||||||
|
|
|
@ -124,7 +124,7 @@ public interface AotTestAttributes {
|
||||||
* Retrieve the attribute value for the given name as a {@code boolean}.
|
* Retrieve the attribute value for the given name as a {@code boolean}.
|
||||||
* @param name the unique attribute name
|
* @param name the unique attribute name
|
||||||
* @return {@code true} if the attribute is set to "true" (ignoring case),
|
* @return {@code true} if the attribute is set to "true" (ignoring case),
|
||||||
* {@code} false otherwise
|
* {@code false} otherwise
|
||||||
* @see #getString(String)
|
* @see #getString(String)
|
||||||
* @see #setAttribute(String, String)
|
* @see #setAttribute(String, String)
|
||||||
* @see Boolean#parseBoolean(String)
|
* @see Boolean#parseBoolean(String)
|
||||||
|
|
|
@ -144,7 +144,7 @@ public abstract class AbstractMessageEndpointFactory implements MessageEndpointF
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implementation of the JCA 1.7 {@code #getEndpointClass()} method,
|
* 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
|
@Override
|
||||||
public @Nullable Class<?> getEndpointClass() {
|
public @Nullable Class<?> getEndpointClass() {
|
||||||
|
|
|
@ -133,7 +133,7 @@ public abstract class AbstractJsonHttpMessageConverter extends AbstractGenericHt
|
||||||
/**
|
/**
|
||||||
* Template method that reads the JSON-bound object from the given {@link Reader}.
|
* Template method that reads the JSON-bound object from the given {@link Reader}.
|
||||||
* @param resolvedType the resolved generic type
|
* @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
|
* @return the JSON-bound object
|
||||||
* @throws Exception in case of read/parse failures
|
* @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}.
|
* Template method that writes the JSON-bound object to the given {@link Writer}.
|
||||||
* @param object the object to write to the output message
|
* @param object the object to write to the output message
|
||||||
* @param type the type of object to write (may be {@code null})
|
* @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
|
* @throws Exception in case of write failures
|
||||||
*/
|
*/
|
||||||
protected abstract void writeInternal(Object object, @Nullable Type type, Writer writer) throws Exception;
|
protected abstract void writeInternal(Object object, @Nullable Type type, Writer writer) throws Exception;
|
||||||
|
|
|
@ -66,7 +66,7 @@ public abstract class ResourceTransformerSupport implements ResourceTransformer
|
||||||
* @param request the current request
|
* @param request the current request
|
||||||
* @param resource the resource being transformed
|
* @param resource the resource being transformed
|
||||||
* @param transformerChain the transformer chain
|
* @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,
|
protected @Nullable String resolveUrlPath(String resourcePath, HttpServletRequest request,
|
||||||
Resource resource, ResourceTransformerChain transformerChain) {
|
Resource resource, ResourceTransformerChain transformerChain) {
|
||||||
|
|
Loading…
Reference in New Issue