From 2defb6555ea1bb0db84a04836674ce9b2fdcad7f Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Wed, 14 Oct 2015 16:49:42 +0900 Subject: [PATCH] Fix broken Javadoc related to `<` and `>` --- .../aop/config/AdvisorComponentDefinition.java | 2 +- .../aop/config/AopNamespaceHandler.java | 2 +- .../aop/config/ConfigBeanDefinitionParser.java | 8 ++++---- .../config/ScopedProxyBeanDefinitionDecorator.java | 2 +- .../factory/support/AbstractBeanDefinition.java | 2 +- .../xml/AbstractSimpleBeanDefinitionParser.java | 2 +- .../beans/factory/xml/BeanDefinitionDecorator.java | 6 +++--- .../factory/xml/BeanDefinitionParserDelegate.java | 10 +++++----- .../factory/xml/DocumentDefaultsDefinition.java | 2 +- .../beans/factory/xml/NamespaceHandler.java | 6 +++--- .../weaving/DefaultContextLoadTimeWeaver.java | 2 +- .../interceptor/SpringBeanAutowiringInterceptor.java | 2 +- .../scripting/config/ScriptBeanDefinitionParser.java | 4 ++-- .../jms/config/JcaListenerContainerParser.java | 2 +- .../jms/config/JmsListenerContainerParser.java | 2 +- .../jpa/LocalContainerEntityManagerFactoryBean.java | 2 +- .../DefaultPersistenceUnitManager.java | 2 +- .../config/CastorMarshallerBeanDefinitionParser.java | 2 +- .../oxm/xstream/XStreamMarshaller.java | 6 +++--- .../transaction/config/TxNamespaceHandler.java | 4 ++-- .../web/filter/AbstractRequestLoggingFilter.java | 6 +++--- .../tags/form/AbstractMultiCheckedElementTag.java | 2 +- .../web/servlet/tags/form/ErrorsTag.java | 6 +++--- .../web/servlet/tags/form/OptionTag.java | 12 ++++++------ 24 files changed, 48 insertions(+), 48 deletions(-) diff --git a/spring-aop/src/main/java/org/springframework/aop/config/AdvisorComponentDefinition.java b/spring-aop/src/main/java/org/springframework/aop/config/AdvisorComponentDefinition.java index bd86b2ea2e..7583e51115 100644 --- a/spring-aop/src/main/java/org/springframework/aop/config/AdvisorComponentDefinition.java +++ b/spring-aop/src/main/java/org/springframework/aop/config/AdvisorComponentDefinition.java @@ -25,7 +25,7 @@ import org.springframework.util.Assert; /** * {@link org.springframework.beans.factory.parsing.ComponentDefinition} * that bridges the gap between the advisor bean definition configured - * by the {@code <aop:advisor>} tag and the component definition + * by the {@code } tag and the component definition * infrastructure. * * @author Rob Harrop diff --git a/spring-aop/src/main/java/org/springframework/aop/config/AopNamespaceHandler.java b/spring-aop/src/main/java/org/springframework/aop/config/AopNamespaceHandler.java index 459c394219..6fd259a135 100644 --- a/spring-aop/src/main/java/org/springframework/aop/config/AopNamespaceHandler.java +++ b/spring-aop/src/main/java/org/springframework/aop/config/AopNamespaceHandler.java @@ -24,7 +24,7 @@ import org.springframework.beans.factory.xml.NamespaceHandlerSupport; * {@code NamespaceHandler} for the {@code aop} namespace. * *

Provides a {@link org.springframework.beans.factory.xml.BeanDefinitionParser} for the - * {@code <aop:config>} tag. A {@code config} tag can include nested + * {@code } tag. A {@code config} tag can include nested * {@code pointcut}, {@code advisor} and {@code aspect} tags. * *

The {@code pointcut} tag allows for creation of named diff --git a/spring-aop/src/main/java/org/springframework/aop/config/ConfigBeanDefinitionParser.java b/spring-aop/src/main/java/org/springframework/aop/config/ConfigBeanDefinitionParser.java index ea2b526f9f..216fcbb448 100644 --- a/spring-aop/src/main/java/org/springframework/aop/config/ConfigBeanDefinitionParser.java +++ b/spring-aop/src/main/java/org/springframework/aop/config/ConfigBeanDefinitionParser.java @@ -49,7 +49,7 @@ import org.springframework.util.StringUtils; import org.springframework.util.xml.DomUtils; /** - * {@link BeanDefinitionParser} for the {@code <aop:config>} tag. + * {@link BeanDefinitionParser} for the {@code } tag. * * @author Rob Harrop * @author Juergen Hoeller @@ -123,7 +123,7 @@ class ConfigBeanDefinitionParser implements BeanDefinitionParser { /** * Configures the auto proxy creator needed to support the {@link BeanDefinition BeanDefinitions} - * created by the '{@code <aop:config/>}' tag. Will force class proxying if the + * created by the '{@code }' tag. Will force class proxying if the * '{@code proxy-target-class}' attribute is set to '{@code true}'. * @see AopNamespaceUtils */ @@ -132,7 +132,7 @@ class ConfigBeanDefinitionParser implements BeanDefinitionParser { } /** - * Parses the supplied {@code <advisor>} element and registers the resulting + * Parses the supplied {@code } element and registers the resulting * {@link org.springframework.aop.Advisor} and any resulting {@link org.springframework.aop.Pointcut} * with the supplied {@link BeanDefinitionRegistry}. */ @@ -428,7 +428,7 @@ class ConfigBeanDefinitionParser implements BeanDefinitionParser { } /** - * Parses the supplied {@code <pointcut>} and registers the resulting + * Parses the supplied {@code } and registers the resulting * Pointcut with the BeanDefinitionRegistry. */ private AbstractBeanDefinition parsePointcut(Element pointcutElement, ParserContext parserContext) { diff --git a/spring-aop/src/main/java/org/springframework/aop/config/ScopedProxyBeanDefinitionDecorator.java b/spring-aop/src/main/java/org/springframework/aop/config/ScopedProxyBeanDefinitionDecorator.java index 0acf968b51..7dce843bf3 100644 --- a/spring-aop/src/main/java/org/springframework/aop/config/ScopedProxyBeanDefinitionDecorator.java +++ b/spring-aop/src/main/java/org/springframework/aop/config/ScopedProxyBeanDefinitionDecorator.java @@ -27,7 +27,7 @@ import org.springframework.beans.factory.xml.ParserContext; /** * {@link BeanDefinitionDecorator} responsible for parsing the - * {@code <aop:scoped-proxy/>} tag. + * {@code } tag. * * @author Rob Harrop * @author Juergen Hoeller diff --git a/spring-beans/src/main/java/org/springframework/beans/factory/support/AbstractBeanDefinition.java b/spring-beans/src/main/java/org/springframework/beans/factory/support/AbstractBeanDefinition.java index 33f20bbac4..85b5de4a50 100644 --- a/spring-beans/src/main/java/org/springframework/beans/factory/support/AbstractBeanDefinition.java +++ b/spring-beans/src/main/java/org/springframework/beans/factory/support/AbstractBeanDefinition.java @@ -826,7 +826,7 @@ public abstract class AbstractBeanDefinition extends BeanMetadataAttributeAccess /** * Set whether this bean definition is 'synthetic', that is, not defined * by the application itself (for example, an infrastructure bean such - * as a helper for auto-proxying, created through {@code <aop:config>}). + * as a helper for auto-proxying, created through {@code }). */ public void setSynthetic(boolean synthetic) { this.synthetic = synthetic; diff --git a/spring-beans/src/main/java/org/springframework/beans/factory/xml/AbstractSimpleBeanDefinitionParser.java b/spring-beans/src/main/java/org/springframework/beans/factory/xml/AbstractSimpleBeanDefinitionParser.java index 67fb7fde91..1db57a4b4d 100644 --- a/spring-beans/src/main/java/org/springframework/beans/factory/xml/AbstractSimpleBeanDefinitionParser.java +++ b/spring-beans/src/main/java/org/springframework/beans/factory/xml/AbstractSimpleBeanDefinitionParser.java @@ -90,7 +90,7 @@ import org.springframework.util.StringUtils; *

<util:properties location="jdbc.properties"/>
* *

The observant reader will notice that the sole attribute on the - * {@code <util:properties/>} element matches the + * {@code } element matches the * {@link org.springframework.beans.factory.config.PropertiesFactoryBean#setLocation(org.springframework.core.io.Resource)} * method name on the {@code PropertiesFactoryBean} (the general * usage thus illustrated holds true for any number of attributes). diff --git a/spring-beans/src/main/java/org/springframework/beans/factory/xml/BeanDefinitionDecorator.java b/spring-beans/src/main/java/org/springframework/beans/factory/xml/BeanDefinitionDecorator.java index c5e4d9128a..be570d755d 100644 --- a/spring-beans/src/main/java/org/springframework/beans/factory/xml/BeanDefinitionDecorator.java +++ b/spring-beans/src/main/java/org/springframework/beans/factory/xml/BeanDefinitionDecorator.java @@ -22,15 +22,15 @@ import org.springframework.beans.factory.config.BeanDefinitionHolder; /** * Interface used by the {@link DefaultBeanDefinitionDocumentReader} - * to handle custom, nested (directly under a {@code <bean>}) tags. + * to handle custom, nested (directly under a {@code }) tags. * *

Decoration may also occur based on custom attributes applied to the - * {@code <bean>} tag. Implementations are free to turn the metadata in the + * {@code } tag. Implementations are free to turn the metadata in the * custom tag into as many * {@link org.springframework.beans.factory.config.BeanDefinition BeanDefinitions} as * required and to transform the * {@link org.springframework.beans.factory.config.BeanDefinition} of the enclosing - * {@code <bean>} tag, potentially even returning a completely different + * {@code } tag, potentially even returning a completely different * {@link org.springframework.beans.factory.config.BeanDefinition} to replace the * original. * diff --git a/spring-beans/src/main/java/org/springframework/beans/factory/xml/BeanDefinitionParserDelegate.java b/spring-beans/src/main/java/org/springframework/beans/factory/xml/BeanDefinitionParserDelegate.java index 290ce5f0c4..8d3ddf1908 100644 --- a/spring-beans/src/main/java/org/springframework/beans/factory/xml/BeanDefinitionParserDelegate.java +++ b/spring-beans/src/main/java/org/springframework/beans/factory/xml/BeanDefinitionParserDelegate.java @@ -398,7 +398,7 @@ public class BeanDefinitionParserDelegate { /** * Return the default settings for bean definitions as indicated within - * the attributes of the top-level {@code <beans/>} element. + * the attributes of the top-level {@code } element. */ public BeanDefinitionDefaults getBeanDefinitionDefaults() { BeanDefinitionDefaults bdd = new BeanDefinitionDefaults(); @@ -412,7 +412,7 @@ public class BeanDefinitionParserDelegate { /** * Return any patterns provided in the 'default-autowire-candidates' - * attribute of the top-level {@code <beans/>} element. + * attribute of the top-level {@code } element. */ public String[] getAutowireCandidatePatterns() { String candidatePattern = this.defaults.getAutowireCandidates(); @@ -421,7 +421,7 @@ public class BeanDefinitionParserDelegate { /** - * Parses the supplied {@code <bean>} element. May return {@code null} + * Parses the supplied {@code } element. May return {@code null} * if there were errors during parse. Errors are reported to the * {@link org.springframework.beans.factory.parsing.ProblemReporter}. */ @@ -430,7 +430,7 @@ public class BeanDefinitionParserDelegate { } /** - * Parses the supplied {@code <bean>} element. May return {@code null} + * Parses the supplied {@code } element. May return {@code null} * if there were errors during parse. Errors are reported to the * {@link org.springframework.beans.factory.parsing.ProblemReporter}. */ @@ -1011,7 +1011,7 @@ public class BeanDefinitionParserDelegate { * constructor-arg element. * @param ele subelement of property element; we don't know which yet * @param defaultValueType the default type (class name) for any - * {@code <value>} tag that might be created + * {@code } tag that might be created */ public Object parsePropertySubElement(Element ele, BeanDefinition bd, String defaultValueType) { if (!isDefaultNamespace(ele)) { diff --git a/spring-beans/src/main/java/org/springframework/beans/factory/xml/DocumentDefaultsDefinition.java b/spring-beans/src/main/java/org/springframework/beans/factory/xml/DocumentDefaultsDefinition.java index ba31c92aaa..ebf513663a 100644 --- a/spring-beans/src/main/java/org/springframework/beans/factory/xml/DocumentDefaultsDefinition.java +++ b/spring-beans/src/main/java/org/springframework/beans/factory/xml/DocumentDefaultsDefinition.java @@ -19,7 +19,7 @@ package org.springframework.beans.factory.xml; import org.springframework.beans.factory.parsing.DefaultsDefinition; /** - * Simple JavaBean that holds the defaults specified at the {@code <beans>} + * Simple JavaBean that holds the defaults specified at the {@code } * level in a standard Spring XML bean definition document: * {@code default-lazy-init}, {@code default-autowire}, etc. * diff --git a/spring-beans/src/main/java/org/springframework/beans/factory/xml/NamespaceHandler.java b/spring-beans/src/main/java/org/springframework/beans/factory/xml/NamespaceHandler.java index 0cd3620c3d..920a36fde9 100644 --- a/spring-beans/src/main/java/org/springframework/beans/factory/xml/NamespaceHandler.java +++ b/spring-beans/src/main/java/org/springframework/beans/factory/xml/NamespaceHandler.java @@ -32,8 +32,8 @@ import org.springframework.beans.factory.config.BeanDefinitionHolder; * custom nested tags. * *

The parser will call {@link #parse} when it encounters a custom tag - * directly under the {@code <beans>} tags and {@link #decorate} when - * it encounters a custom tag directly under a {@code <bean>} tag. + * directly under the {@code } tags and {@link #decorate} when + * it encounters a custom tag directly under a {@code } tag. * *

Developers writing their own custom element extensions typically will * not implement this interface directly, but rather make use of the provided @@ -61,7 +61,7 @@ public interface NamespaceHandler { * that is embedded in the supplied {@link ParserContext}. *

Implementations should return the primary {@code BeanDefinition} * that results from the parse phase if they wish to be used nested - * inside (for example) a {@code <property>} tag. + * inside (for example) a {@code } tag. *

Implementations may return {@code null} if they will * not be used in a nested scenario. * @param element the element that is to be parsed into one or more {@code BeanDefinitions} diff --git a/spring-context/src/main/java/org/springframework/context/weaving/DefaultContextLoadTimeWeaver.java b/spring-context/src/main/java/org/springframework/context/weaving/DefaultContextLoadTimeWeaver.java index 669d62925b..ae6384ebb4 100644 --- a/spring-context/src/main/java/org/springframework/context/weaving/DefaultContextLoadTimeWeaver.java +++ b/spring-context/src/main/java/org/springframework/context/weaving/DefaultContextLoadTimeWeaver.java @@ -39,7 +39,7 @@ import org.springframework.instrument.classloading.websphere.WebSphereLoadTimeWe * *

Typically registered for the default bean name * "{@code loadTimeWeaver}"; the most convenient way to achieve this is - * Spring's {@code <context:load-time-weaver>} XML tag. + * Spring's {@code } XML tag. * *

This class implements a runtime environment check for obtaining the * appropriate weaver implementation: As of Spring 4.0, it detects Oracle WebLogic 10, diff --git a/spring-context/src/main/java/org/springframework/ejb/interceptor/SpringBeanAutowiringInterceptor.java b/spring-context/src/main/java/org/springframework/ejb/interceptor/SpringBeanAutowiringInterceptor.java index 33c1596630..17c2cef4b0 100644 --- a/spring-context/src/main/java/org/springframework/ejb/interceptor/SpringBeanAutowiringInterceptor.java +++ b/spring-context/src/main/java/org/springframework/ejb/interceptor/SpringBeanAutowiringInterceptor.java @@ -60,7 +60,7 @@ import org.springframework.context.access.ContextSingletonBeanFactoryLocator; * *

WARNING: Do not define the same bean as Spring-managed bean and as * EJB3 session bean in the same deployment unit. In particular, be - * careful when using the {@code <context:component-scan>} feature + * careful when using the {@code } feature * in combination with the deployment of Spring-based EJB3 session beans: * Make sure that the EJB3 session beans are not autodetected as * Spring-managed beans as well, using appropriate package restrictions. diff --git a/spring-context/src/main/java/org/springframework/scripting/config/ScriptBeanDefinitionParser.java b/spring-context/src/main/java/org/springframework/scripting/config/ScriptBeanDefinitionParser.java index 533fd21c19..83d72a9d22 100644 --- a/spring-context/src/main/java/org/springframework/scripting/config/ScriptBeanDefinitionParser.java +++ b/spring-context/src/main/java/org/springframework/scripting/config/ScriptBeanDefinitionParser.java @@ -34,8 +34,8 @@ import org.springframework.util.StringUtils; import org.springframework.util.xml.DomUtils; /** - * BeanDefinitionParser implementation for the '{@code <lang:groovy/>}', - * '{@code <lang:jruby/>}' and '{@code <lang:bsh/>}' tags. + * BeanDefinitionParser implementation for the '{@code }', + * '{@code }' and '{@code }' tags. * Allows for objects written using dynamic languages to be easily exposed with * the {@link org.springframework.beans.factory.BeanFactory}. * diff --git a/spring-jms/src/main/java/org/springframework/jms/config/JcaListenerContainerParser.java b/spring-jms/src/main/java/org/springframework/jms/config/JcaListenerContainerParser.java index 03feb01e83..ef03eda919 100644 --- a/spring-jms/src/main/java/org/springframework/jms/config/JcaListenerContainerParser.java +++ b/spring-jms/src/main/java/org/springframework/jms/config/JcaListenerContainerParser.java @@ -26,7 +26,7 @@ import org.springframework.beans.factory.xml.ParserContext; import org.springframework.util.StringUtils; /** - * Parser for the JMS {@code <jca-listener-container>} element. + * Parser for the JMS {@code } element. * * @author Juergen Hoeller * @author Stephane Nicoll diff --git a/spring-jms/src/main/java/org/springframework/jms/config/JmsListenerContainerParser.java b/spring-jms/src/main/java/org/springframework/jms/config/JmsListenerContainerParser.java index e2b4500411..0e91e2ef36 100644 --- a/spring-jms/src/main/java/org/springframework/jms/config/JmsListenerContainerParser.java +++ b/spring-jms/src/main/java/org/springframework/jms/config/JmsListenerContainerParser.java @@ -28,7 +28,7 @@ import org.springframework.beans.factory.xml.ParserContext; import org.springframework.util.StringUtils; /** - * Parser for the JMS {@code <listener-container>} element. + * Parser for the JMS {@code } element. * * @author Mark Fisher * @author Juergen Hoeller diff --git a/spring-orm/src/main/java/org/springframework/orm/jpa/LocalContainerEntityManagerFactoryBean.java b/spring-orm/src/main/java/org/springframework/orm/jpa/LocalContainerEntityManagerFactoryBean.java index 8f2151eeb5..e9fbb6ce54 100644 --- a/spring-orm/src/main/java/org/springframework/orm/jpa/LocalContainerEntityManagerFactoryBean.java +++ b/spring-orm/src/main/java/org/springframework/orm/jpa/LocalContainerEntityManagerFactoryBean.java @@ -173,7 +173,7 @@ public class LocalContainerEntityManagerFactoryBean extends AbstractEntityManage } /** - * Specify one or more mapping resources (equivalent to {@code <mapping-file>} + * Specify one or more mapping resources (equivalent to {@code } * entries in {@code persistence.xml}) for the default persistence unit. * Can be used on its own or in combination with entity scanning in the classpath, * in both cases avoiding {@code persistence.xml}. diff --git a/spring-orm/src/main/java/org/springframework/orm/jpa/persistenceunit/DefaultPersistenceUnitManager.java b/spring-orm/src/main/java/org/springframework/orm/jpa/persistenceunit/DefaultPersistenceUnitManager.java index f4656b64fa..34ac4be069 100644 --- a/spring-orm/src/main/java/org/springframework/orm/jpa/persistenceunit/DefaultPersistenceUnitManager.java +++ b/spring-orm/src/main/java/org/springframework/orm/jpa/persistenceunit/DefaultPersistenceUnitManager.java @@ -234,7 +234,7 @@ public class DefaultPersistenceUnitManager } /** - * Specify one or more mapping resources (equivalent to {@code <mapping-file>} + * Specify one or more mapping resources (equivalent to {@code } * entries in {@code persistence.xml}) for the default persistence unit. * Can be used on its own or in combination with entity scanning in the classpath, * in both cases avoiding {@code persistence.xml}. diff --git a/spring-oxm/src/main/java/org/springframework/oxm/config/CastorMarshallerBeanDefinitionParser.java b/spring-oxm/src/main/java/org/springframework/oxm/config/CastorMarshallerBeanDefinitionParser.java index f59effac2f..36cd4bfff3 100644 --- a/spring-oxm/src/main/java/org/springframework/oxm/config/CastorMarshallerBeanDefinitionParser.java +++ b/spring-oxm/src/main/java/org/springframework/oxm/config/CastorMarshallerBeanDefinitionParser.java @@ -21,7 +21,7 @@ import org.w3c.dom.Element; import org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser; /** - * Parser for the {@code <oxm:castor-marshaller/>} element. + * Parser for the {@code } element. * * @author Jakub Narloch * @since 3.1 diff --git a/spring-oxm/src/main/java/org/springframework/oxm/xstream/XStreamMarshaller.java b/spring-oxm/src/main/java/org/springframework/oxm/xstream/XStreamMarshaller.java index 2f4cdf8b3b..504f6c580c 100644 --- a/spring-oxm/src/main/java/org/springframework/oxm/xstream/XStreamMarshaller.java +++ b/spring-oxm/src/main/java/org/springframework/oxm/xstream/XStreamMarshaller.java @@ -300,10 +300,10 @@ public class XStreamMarshaller extends AbstractMarshaller implements Initializin /** * Set the types to use XML attributes for. The given map can contain - * either {@code <String, Class>} pairs, in which case + * either {@code } pairs, in which case * {@link XStream#useAttributeFor(String, Class)} is called. - * Alternatively, the map can contain {@code <Class, String>} - * or {@code <Class, List<String>>} pairs, which results + * Alternatively, the map can contain {@code } + * or {@code >} pairs, which results * in {@link XStream#useAttributeFor(Class, String)} calls. */ public void setUseAttributeFor(Map useAttributeFor) { diff --git a/spring-tx/src/main/java/org/springframework/transaction/config/TxNamespaceHandler.java b/spring-tx/src/main/java/org/springframework/transaction/config/TxNamespaceHandler.java index 228ffdbc90..c46ac5aabc 100644 --- a/spring-tx/src/main/java/org/springframework/transaction/config/TxNamespaceHandler.java +++ b/spring-tx/src/main/java/org/springframework/transaction/config/TxNamespaceHandler.java @@ -29,8 +29,8 @@ import org.springframework.beans.factory.xml.NamespaceHandlerSupport; * to declaratively manage transactions. * *

One approach uses transaction semantics defined in XML using the - * {@code <tx:advice>} elements, the other uses annotations - * in combination with the {@code <tx:annotation-driven>} element. + * {@code } elements, the other uses annotations + * in combination with the {@code } element. * Both approached are detailed to great extent in the Spring reference manual. * * @author Rob Harrop diff --git a/spring-web/src/main/java/org/springframework/web/filter/AbstractRequestLoggingFilter.java b/spring-web/src/main/java/org/springframework/web/filter/AbstractRequestLoggingFilter.java index 2e206f2d4e..1234734175 100644 --- a/spring-web/src/main/java/org/springframework/web/filter/AbstractRequestLoggingFilter.java +++ b/spring-web/src/main/java/org/springframework/web/filter/AbstractRequestLoggingFilter.java @@ -86,7 +86,7 @@ public abstract class AbstractRequestLoggingFilter extends OncePerRequestFilter /** * Set whether the query string should be included in the log message. - *

Should be configured using an {@code <init-param>} for parameter name + *

Should be configured using an {@code } for parameter name * "includeQueryString" in the filter definition in {@code web.xml}. */ public void setIncludeQueryString(boolean includeQueryString) { @@ -103,7 +103,7 @@ public abstract class AbstractRequestLoggingFilter extends OncePerRequestFilter /** * Set whether the client address and session id should be included in the * log message. - *

Should be configured using an {@code <init-param>} for parameter name + *

Should be configured using an {@code } for parameter name * "includeClientInfo" in the filter definition in {@code web.xml}. */ public void setIncludeClientInfo(boolean includeClientInfo) { @@ -120,7 +120,7 @@ public abstract class AbstractRequestLoggingFilter extends OncePerRequestFilter /** * Set whether the request payload (body) should be included in the log message. - *

Should be configured using an {@code <init-param>} for parameter name + *

Should be configured using an {@code } for parameter name * "includePayload" in the filter definition in {@code web.xml}. */ diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/AbstractMultiCheckedElementTag.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/AbstractMultiCheckedElementTag.java index cb9c6963ca..58d4cc79fd 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/AbstractMultiCheckedElementTag.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/AbstractMultiCheckedElementTag.java @@ -149,7 +149,7 @@ public abstract class AbstractMultiCheckedElementTag extends AbstractCheckedElem /** * Set the HTML element used to enclose the * '{@code input type="checkbox/radio"}' tag. - *

Defaults to an HTML '{@code <span/>}' tag. + *

Defaults to an HTML '{@code }' tag. */ public void setElement(String element) { Assert.hasText(element, "'element' cannot be null or blank"); diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/ErrorsTag.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/ErrorsTag.java index c05a446887..1673f18fb7 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/ErrorsTag.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/ErrorsTag.java @@ -72,7 +72,7 @@ public class ErrorsTag extends AbstractHtmlElementBodyTag implements BodyTag { /** * Set the HTML element must be used to render the error messages. - *

Defaults to an HTML '{@code <span/>}' tag. + *

Defaults to an HTML '{@code }' tag. */ public void setElement(String element) { Assert.hasText(element, "'element' cannot be null or blank"); @@ -88,7 +88,7 @@ public class ErrorsTag extends AbstractHtmlElementBodyTag implements BodyTag { /** * Set the delimiter to be used between error messages. - *

Defaults to an HTML '{@code <br/>}' tag. + *

Defaults to an HTML '{@code
}' tag. */ public void setDelimiter(String delimiter) { this.delimiter = delimiter; @@ -105,7 +105,7 @@ public class ErrorsTag extends AbstractHtmlElementBodyTag implements BodyTag { /** * Get the value for the HTML '{@code id}' attribute. *

Appends '{@code .errors}' to the value returned by {@link #getPropertyPath()} - * or to the model attribute name if the {@code <form:errors/>} tag's + * or to the model attribute name if the {@code } tag's * '{@code path}' attribute has been omitted. * @return the value for the HTML '{@code id}' attribute * @see #getPropertyPath() diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/OptionTag.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/OptionTag.java index 2e97f9e065..36e381d02b 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/OptionTag.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/OptionTag.java @@ -76,12 +76,12 @@ public class OptionTag extends AbstractHtmlElementBodyTag implements BodyTag { /** - * The 'value' attribute of the rendered HTML {@code <option>} tag. + * The 'value' attribute of the rendered HTML {@code

May be a runtime expression. */ public void setLabel(String label) { @@ -130,7 +130,7 @@ public class OptionTag extends AbstractHtmlElementBodyTag implements BodyTag { } /** - * Get the text body of the rendered HTML {@code <option>} tag. + * Get the text body of the rendered HTML {@code