This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch 1.X in repository https://gitbox.apache.org/repos/asf/commons-beanutils.git
The following commit(s) were added to refs/heads/1.X by this push: new ed6318b7 Javadoc ed6318b7 is described below commit ed6318b78defd6462767afca4a33b6ba064ad710 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sun Jul 21 11:17:11 2024 -0400 Javadoc Use HTML 'em' tag instead of 'i' tag --- .../commons/beanutils/ContextClassLoaderLocal.java | 4 +- .../apache/commons/beanutils/ConvertUtilsBean.java | 6 +-- .../commons/beanutils/DynaBeanMapDecorator.java | 6 +-- .../beanutils/DynaBeanPropertyMapDecorator.java | 6 +-- .../apache/commons/beanutils/JDBCDynaClass.java | 2 +- .../org/apache/commons/beanutils/LazyDynaBean.java | 18 +++---- .../apache/commons/beanutils/LazyDynaClass.java | 4 +- .../org/apache/commons/beanutils/LazyDynaList.java | 24 ++++----- .../org/apache/commons/beanutils/LazyDynaMap.java | 18 +++---- .../commons/beanutils/PropertyUtilsBean.java | 16 +++--- .../apache/commons/beanutils/WrapDynaClass.java | 4 +- .../beanutils/converters/AbstractConverter.java | 6 +-- .../beanutils/converters/ArrayConverter.java | 20 ++++---- .../beanutils/converters/BigDecimalConverter.java | 6 +-- .../beanutils/converters/BigIntegerConverter.java | 6 +-- .../converters/BooleanArrayConverter.java | 4 +- .../beanutils/converters/BooleanConverter.java | 2 +- .../beanutils/converters/ByteConverter.java | 6 +-- .../beanutils/converters/CalendarConverter.java | 6 +-- .../beanutils/converters/CharacterConverter.java | 6 +-- .../beanutils/converters/ClassConverter.java | 6 +-- .../beanutils/converters/DateConverter.java | 6 +-- .../beanutils/converters/DateTimeConverter.java | 16 +++--- .../beanutils/converters/DoubleConverter.java | 6 +-- .../beanutils/converters/FileConverter.java | 6 +-- .../beanutils/converters/FloatConverter.java | 6 +-- .../beanutils/converters/IntegerConverter.java | 6 +-- .../beanutils/converters/LongConverter.java | 6 +-- .../beanutils/converters/NumberConverter.java | 14 ++--- .../beanutils/converters/ShortConverter.java | 6 +-- .../beanutils/converters/SqlDateConverter.java | 6 +-- .../beanutils/converters/SqlTimeConverter.java | 6 +-- .../converters/SqlTimestampConverter.java | 6 +-- .../beanutils/converters/StringConverter.java | 4 +- .../commons/beanutils/converters/URLConverter.java | 6 +-- .../commons/beanutils/expression/Resolver.java | 4 +- .../org/apache/commons/beanutils/package-info.java | 60 +++++++++++----------- .../beanutils/bugs/other/Jira18BeanFactory.java | 2 +- .../converters/BooleanArrayConverterTestCase.java | 2 +- .../beanutils/converters/ClassReloader.java | 4 +- .../beanutils/converters/MemoryTestCase.java | 2 +- 41 files changed, 175 insertions(+), 175 deletions(-) diff --git a/src/main/java/org/apache/commons/beanutils/ContextClassLoaderLocal.java b/src/main/java/org/apache/commons/beanutils/ContextClassLoaderLocal.java index 96856e26..449d5bc3 100644 --- a/src/main/java/org/apache/commons/beanutils/ContextClassLoaderLocal.java +++ b/src/main/java/org/apache/commons/beanutils/ContextClassLoaderLocal.java @@ -68,7 +68,7 @@ import java.util.WeakHashMap; * a component which uses this class is "undeployed" by a container the * component-specific classloader and all its associated classes (and their * static variables) are garbage-collected. Unfortunately there is one - * scenario in which this does <i>not</i> work correctly and there + * scenario in which this does <em>not</em> work correctly and there * is unfortunately no known workaround other than ensuring that the * component (or its container) calls the "unset" method on this class for * each instance of this class when the component is undeployed. The problem @@ -208,7 +208,7 @@ public class ContextClassLoaderLocal<T> { /** * Unsets the value associated with the given classloader - * @param classLoader The classloader to <i>unset</i> for + * @param classLoader The classloader to <em>unset</em> for */ public synchronized void unset(final ClassLoader classLoader) { valueByClassLoader.remove(classLoader); diff --git a/src/main/java/org/apache/commons/beanutils/ConvertUtilsBean.java b/src/main/java/org/apache/commons/beanutils/ConvertUtilsBean.java index 11c3c118..a5391f0a 100644 --- a/src/main/java/org/apache/commons/beanutils/ConvertUtilsBean.java +++ b/src/main/java/org/apache/commons/beanutils/ConvertUtilsBean.java @@ -114,7 +114,7 @@ import org.apache.commons.logging.LogFactory; * </p> * * <p> - * Converters that generate <i>arrays</i> of each of the primitive types are + * Converters that generate <em>arrays</em> of each of the primitive types are * also automatically configured (including String[]). When passed null * or invalid input, these return an empty array (not null). See class * AbstractArrayConverter for the supported input formats for these converters. @@ -610,7 +610,7 @@ public class ConvertUtilsBean { * @param throwException <code>true</code> if the converters should * throw an exception when a conversion error occurs, otherwise * <code>false</code> if a default value should be used. - * @param defaultNull <code>true</code>if the <i>standard</i> converters + * @param defaultNull <code>true</code>if the <em>standard</em> converters * (see {@link ConvertUtilsBean#registerStandard(boolean, boolean)}) * should use a default value of <code>null</code>, otherwise <code>false</code>. * N.B. This values is ignored if <code>throwException</code> is <code>true</code> @@ -675,7 +675,7 @@ public class ConvertUtilsBean { * @param throwException <code>true</code> if the converters should * throw an exception when a conversion error occurs, otherwise <code> * <code>false</code> if a default value should be used. - * @param defaultNull <code>true</code>if the <i>standard</i> converters + * @param defaultNull <code>true</code>if the <em>standard</em> converters * (see {@link ConvertUtilsBean#registerStandard(boolean, boolean)}) * should use a default value of <code>null</code>, otherwise <code>false</code>. * N.B. This values is ignored if <code>throwException</code> is <code>true</code> diff --git a/src/main/java/org/apache/commons/beanutils/DynaBeanMapDecorator.java b/src/main/java/org/apache/commons/beanutils/DynaBeanMapDecorator.java index 95de4790..c1f7f94d 100644 --- a/src/main/java/org/apache/commons/beanutils/DynaBeanMapDecorator.java +++ b/src/main/java/org/apache/commons/beanutils/DynaBeanMapDecorator.java @@ -46,16 +46,16 @@ package org.apache.commons.beanutils; * * <ul><li><code>Map fooMap = new DynaBeanMapDecorator(fooDynaBean);</code></li></ul> * - * <p>The above example creates a <b><i>read only</i></b> <code>Map</code>. + * <p>The above example creates a <b><em>read only</em></b> <code>Map</code>. * To create a <code>Map</code> which can be modified, construct a - * <code>DynaBeanMapDecorator</code> with the <b><i>read only</i></b> + * <code>DynaBeanMapDecorator</code> with the <b><em>read only</em></b> * attribute set to <code>false</code>:</p> * * <ul><li><code>Map fooMap = new DynaBeanMapDecorator(fooDynaBean, false);</code></li></ul> * * <h3>Limitations</h3> * <p>In this implementation the <code>entrySet()</code>, <code>keySet()</code> - * and <code>values()</code> methods create an <b><i>unmodifiable</i></b> + * and <code>values()</code> methods create an <b><em>unmodifiable</em></b> * <code>Set</code> and it does not support the Map's <code>clear()</code> * and <code>remove()</code> operations.</p> * <p>For reasons of backwards compatibility, the generic types of this diff --git a/src/main/java/org/apache/commons/beanutils/DynaBeanPropertyMapDecorator.java b/src/main/java/org/apache/commons/beanutils/DynaBeanPropertyMapDecorator.java index c306f1e3..7fbe0b33 100644 --- a/src/main/java/org/apache/commons/beanutils/DynaBeanPropertyMapDecorator.java +++ b/src/main/java/org/apache/commons/beanutils/DynaBeanPropertyMapDecorator.java @@ -45,9 +45,9 @@ package org.apache.commons.beanutils; * * <ul><li><code>Map<String, Object> fooMap = new DynaBeanPropertyMapDecorator(fooDynaBean);</code></li></ul> * - * <p>The above example creates a <b><i>read only</i></b> <code>Map</code>. + * <p>The above example creates a <b><em>read only</em></b> <code>Map</code>. * To create a <code>Map</code> which can be modified, construct a - * <code>DynaBeanPropertyMapDecorator</code> with the <b><i>read only</i></b> + * <code>DynaBeanPropertyMapDecorator</code> with the <b><em>read only</em></b> * attribute set to <code>false</code>:</p> * * <ul><li><code>Map<String, Object> fooMap = @@ -55,7 +55,7 @@ package org.apache.commons.beanutils; * * <h3>Limitations</h3> * <p>In this implementation the <code>entrySet()</code>, <code>keySet()</code> - * and <code>values()</code> methods create an <b><i>unmodifiable</i></b> + * and <code>values()</code> methods create an <b><em>unmodifiable</em></b> * <code>Set</code> and it does not support the Map's <code>clear()</code> * and <code>remove()</code> operations.</p> * diff --git a/src/main/java/org/apache/commons/beanutils/JDBCDynaClass.java b/src/main/java/org/apache/commons/beanutils/JDBCDynaClass.java index f9591f8e..80352e8b 100644 --- a/src/main/java/org/apache/commons/beanutils/JDBCDynaClass.java +++ b/src/main/java/org/apache/commons/beanutils/JDBCDynaClass.java @@ -293,7 +293,7 @@ abstract class JDBCDynaClass implements DynaClass, Serializable { * Get the table column name for the specified property name. * * @param name The property name - * @return The column name (which can be different if the <i>lowerCase</i> + * @return The column name (which can be different if the <em>lowerCase</em> * option is used). */ protected String getColumnName(final String name) { diff --git a/src/main/java/org/apache/commons/beanutils/LazyDynaBean.java b/src/main/java/org/apache/commons/beanutils/LazyDynaBean.java index 63b9b42e..efebcc46 100644 --- a/src/main/java/org/apache/commons/beanutils/LazyDynaBean.java +++ b/src/main/java/org/apache/commons/beanutils/LazyDynaBean.java @@ -31,17 +31,17 @@ import org.apache.commons.logging.LogFactory; /** * <p>DynaBean which automatically adds properties to the <code>DynaClass</code> - * and provides <i>Lazy List</i> and <i>Lazy Map</i> features.</p> + * and provides <em>Lazy List</em> and <em>Lazy Map</em> features.</p> * - * <p>DynaBeans deal with three types of properties - <i>simple</i>, <i>indexed</i> and <i>mapped</i> and + * <p>DynaBeans deal with three types of properties - <em>simple</em>, <em>indexed</em> and <em>mapped</em> and * have the following <code>get()</code> and <code>set()</code> methods for * each of these types:</p> * <ul> - * <li><i>Simple</i> property methods - <code>get(name)</code> and + * <li><em>Simple</em> property methods - <code>get(name)</code> and * <code>set(name, value)</code></li> - * <li><i>Indexed</i> property methods - <code>get(name, index)</code> and + * <li><em>Indexed</em> property methods - <code>get(name, index)</code> and * <code>set(name, index, value)</code></li> - * <li><i>Mapped</i> property methods - <code>get(name, key)</code> and + * <li><em>Mapped</em> property methods - <code>get(name, key)</code> and * <code>set(name, key, value)</code></li> * </ul> * @@ -60,7 +60,7 @@ import org.apache.commons.logging.LogFactory; * <p>If the property <b>doesn't</b> exist, the <code>LazyDynaBean</code> will automatically add * a property with an <code>ArrayList</code> type to the <code>DynaClass</code> when * the <code>set(name, index, value)</code> method is called. - * It will also instantiate a new <code>ArrayList</code> and automatically <i>grow</i> + * It will also instantiate a new <code>ArrayList</code> and automatically <em>grow</em> * the <code>List</code> so that it is big enough to accomodate the index being set. * <code>ArrayList</code> is the default indexed property that LazyDynaBean uses but * this can be easily changed by overriding the <code>defaultIndexedProperty(name)</code> @@ -73,7 +73,7 @@ import org.apache.commons.logging.LogFactory; * <p>If the indexed property <b>does</b> exist in the <code>DynaClass</code> but is set to * <code>null</code> in the <code>LazyDynaBean</code>, then it will instantiate a * new <code>List</code> or <code>Array</code> as specified by the property's type - * in the <code>DynaClass</code> and automatically <i>grow</i> the <code>List</code> + * in the <code>DynaClass</code> and automatically <em>grow</em> the <code>List</code> * or <code>Array</code> so that it is big enough to accomodate the index being set.</p> * * <code>DynaBean myBean = new LazyDynaBean();</code></br> @@ -102,8 +102,8 @@ import org.apache.commons.logging.LogFactory; * <code>myClass.add("myMappedProperty", TreeMap.class);</code></br> * <code>myBean.set("myMappedProperty", "myKey", "myValue");</code></br> * - * <p><b><u><i>Restricted</i> DynaClass</u></b></p> - * <p><code>MutableDynaClass</code> have a facility to <i>restrict</i> the <code>DynaClass</code> + * <p><b><u><em>Restricted</em> DynaClass</u></b></p> + * <p><code>MutableDynaClass</code> have a facility to <em>restrict</em> the <code>DynaClass</code> * so that its properties cannot be modified. If the <code>MutableDynaClass</code> is * restricted then calling any of the <code>set()</code> methods for a property which * doesn't exist will result in a <code>IllegalArgumentException</code> being thrown.</p> diff --git a/src/main/java/org/apache/commons/beanutils/LazyDynaClass.java b/src/main/java/org/apache/commons/beanutils/LazyDynaClass.java index d9ea67bd..53f659b0 100644 --- a/src/main/java/org/apache/commons/beanutils/LazyDynaClass.java +++ b/src/main/java/org/apache/commons/beanutils/LazyDynaClass.java @@ -30,7 +30,7 @@ package org.apache.commons.beanutils; * of the <code>LazyDynaBean</code> which automatically adds missing properties * when any of its <code>set()</code> methods are called. For this reason the * <code>isDynaProperty(name)</code> method has been added to this implementation - * in order to determine if a property actually exists. If the more <i>normal</i> + * in order to determine if a property actually exists. If the more <em>normal</em> * behaviour of returning <code>null</code> is required, then this can be achieved * by calling the <code>setReturnNull(true)</code>.</p> * @@ -302,7 +302,7 @@ public class LazyDynaClass extends BasicDynaClass implements MutableDynaClass { * * <p>The reason for not returning a <code>null</code> property descriptor is that * <code>BeanUtils</code> uses this method to check if a property exists - * before trying to set it - since these <i>Lazy</i> implementations automatically + * before trying to set it - since these <em>Lazy</em> implementations automatically * add any new properties when they are set, returning <code>null</code> from * this method would defeat their purpose.</p> * diff --git a/src/main/java/org/apache/commons/beanutils/LazyDynaList.java b/src/main/java/org/apache/commons/beanutils/LazyDynaList.java index bba95390..78358099 100644 --- a/src/main/java/org/apache/commons/beanutils/LazyDynaList.java +++ b/src/main/java/org/apache/commons/beanutils/LazyDynaList.java @@ -22,16 +22,16 @@ import java.util.Collection; import java.util.Map; /** - * <h2><i>Lazy</i> DynaBean List.</h2> + * <h2><em>Lazy</em> DynaBean List.</h2> * * <p>There are two main purposes for this class:</p> * <ul> - * <li>To provide <i>Lazy List</i> behaviour - automatically - * <i>growing</i> and <i>populating</i> the <code>List</code> + * <li>To provide <em>Lazy List</em> behaviour - automatically + * <em>growing</em> and <em>populating</em> the <code>List</code> * with either <code>DynaBean</code>, <code>java.util.Map</code> * or POJO Beans.</li> * <li>To provide a straight forward way of putting a Collection - * or Array into the lazy list <i>and</i> a straight forward + * or Array into the lazy list <em>and</em> a straight forward * way to get it out again at the end.</li> * </ul> * @@ -92,7 +92,7 @@ import java.util.Map; * * * <h3>Example 2</h3> - * <p>Alternatively you can create an <i>empty</i> List and + * <p>Alternatively you can create an <em>empty</em> List and * specify the Class for List's elements. The LazyDynaList * uses the Class to automatically populate elements:</p> * @@ -108,7 +108,7 @@ import java.util.Map; * </code></pre> * * <h3>Example 3</h3> - * <p>Alternatively you can create an <i>empty</i> List and specify the + * <p>Alternatively you can create an <em>empty</em> List and specify the * DynaClass for List's elements. The LazyDynaList uses * the DynaClass to automatically populate elements:</p> * @@ -129,7 +129,7 @@ import java.util.Map; * <p><strong>N.B.</strong> You may wonder why control the type * using a <code>DynaClass</code> rather than the <code>Class</code> * as in the previous example - the reason is that some <code>DynaBean</code> - * implementations don't have a <i>default</i> empty constructor and + * implementations don't have a <em>default</em> empty constructor and * therefore need to be instantiated using the <code>DynaClass.newInstance()</code> * method.</p> * @@ -259,7 +259,7 @@ public class LazyDynaList extends ArrayList<Object> { * * <p>If the index position is greater than the current * size of the List, then the List is automatically - * <i>grown</i> to the appropriate size.</p> + * <em>grown</em> to the appropriate size.</p> * * @param index The index position to insert the new element. * @param element The new element to add. @@ -319,7 +319,7 @@ public class LazyDynaList extends ArrayList<Object> { * * <p>If the index position is greater than the current * size of the List, then the List is automatically - * <i>grown</i> to the appropriate size.</p> + * <em>grown</em> to the appropriate size.</p> * * @param collection The Collection of new elements. * @param index The index position to insert the new elements at. @@ -357,7 +357,7 @@ public class LazyDynaList extends ArrayList<Object> { * * <p>If the position requested is greater than the current * size of the List, then the List is automatically - * <i>grown</i> (and populated) to the appropriate size.</p> + * <em>grown</em> (and populated) to the appropriate size.</p> * * @param index The index position to insert the new elements at. * @return The element at the specified position. @@ -376,7 +376,7 @@ public class LazyDynaList extends ArrayList<Object> { * * <p>If the position requested is greater than the current * size of the List, then the List is automatically - * <i>grown</i> (and populated) to the appropriate size.</p> + * <em>grown</em> (and populated) to the appropriate size.</p> * * @param index The index position to insert the new element at. * @param element The new element. @@ -595,7 +595,7 @@ public class LazyDynaList extends ArrayList<Object> { // ------------------- Private Methods --------------------------- /** - * <p>Automatically <i>grown</i> the List + * <p>Automatically <em>grown</em> the List * to the appropriate size, populating with * DynaBeans.</p> * diff --git a/src/main/java/org/apache/commons/beanutils/LazyDynaMap.java b/src/main/java/org/apache/commons/beanutils/LazyDynaMap.java index cd37341c..d73ecc52 100644 --- a/src/main/java/org/apache/commons/beanutils/LazyDynaMap.java +++ b/src/main/java/org/apache/commons/beanutils/LazyDynaMap.java @@ -19,26 +19,26 @@ package org.apache.commons.beanutils; import java.util.Map; /** - * <p>Provides a <i>light weight</i> <code>DynaBean</code> facade to a <code>Map</code> - * with <i>lazy</i> map/list processing.</p> + * <p>Provides a <em>light weight</em> <code>DynaBean</code> facade to a <code>Map</code> + * with <em>lazy</em> map/list processing.</p> * - * <p>Its a <i>light weight</i> <code>DynaBean</code> implementation because there is no + * <p>Its a <em>light weight</em> <code>DynaBean</code> implementation because there is no * actual <code>DynaClass</code> associated with this <code>DynaBean</code> - in fact - * it implements the <code>DynaClass</code> interface itself providing <i>pseudo</i> DynaClass + * it implements the <code>DynaClass</code> interface itself providing <em>pseudo</em> DynaClass * behaviour from the actual values stored in the <code>Map</code>.</p> * * <p>As well providing rhe standard <code>DynaBean</code> access to the <code>Map</code>'s properties - * this class also provides the usual <i>Lazy</i> behaviour:</p> + * this class also provides the usual <em>Lazy</em> behaviour:</p> * <ul> * <li>Properties don't need to be pre-defined in a <code>DynaClass</code></li> * <li>Indexed properties (<code>Lists</code> or <code>Arrays</code>) are automatically instantiated - * and <i>grown</i> so that they are large enough to cater for the index being set.</li> + * and <em>grown</em> so that they are large enough to cater for the index being set.</li> * <li>Mapped properties are automatically instantiated.</li> * </ul> * - * <p><b><u><i>Restricted</i> DynaClass</u></b></p> + * <p><b><u><em>Restricted</em> DynaClass</u></b></p> * <p>This class implements the <code>MutableDynaClass</code> interface. - * <code>MutableDynaClass</code> have a facility to <i>restrict</i> the <code>DynaClass</code> + * <code>MutableDynaClass</code> have a facility to <em>restrict</em> the <code>DynaClass</code> * so that its properties cannot be modified. If the <code>MutableDynaClass</code> is * restricted then calling any of the <code>set()</code> methods for a property which * doesn't exist will result in a <code>IllegalArgumentException</code> being thrown.</p> @@ -204,7 +204,7 @@ public class LazyDynaMap extends LazyDynaBean implements MutableDynaClass { * * <p>The reason for not returning a <code>null</code> property descriptor is that * <code>BeanUtils</code> uses this method to check if a property exists - * before trying to set it - since these <i>Map</i> implementations automatically + * before trying to set it - since these <em>Map</em> implementations automatically * add any new properties when they are set, returning <code>null</code> from * this method would defeat their purpose.</p> * diff --git a/src/main/java/org/apache/commons/beanutils/PropertyUtilsBean.java b/src/main/java/org/apache/commons/beanutils/PropertyUtilsBean.java index 50118b36..e1407a70 100644 --- a/src/main/java/org/apache/commons/beanutils/PropertyUtilsBean.java +++ b/src/main/java/org/apache/commons/beanutils/PropertyUtilsBean.java @@ -53,7 +53,7 @@ import org.apache.commons.logging.LogFactory; * a convenient way to access the registered classes themselves is included. * <p> * For the purposes of this class, five formats for referencing a particular - * property value of a bean are defined, with the <i>default</i> layout of an + * property value of a bean are defined, with the <em>default</em> layout of an * identifying String in parentheses. However the notation for these formats * and how they are resolved is now (since BeanUtils 1.8.0) controlled by * the configured {@link Resolver} implementation: @@ -143,9 +143,9 @@ public class PropertyUtilsBean { /** * Return the configured {@link Resolver} implementation used by BeanUtils. * <p> - * The {@link Resolver} handles the <i>property name</i> + * The {@link Resolver} handles the <em>property name</em> * expressions and the implementation in use effectively - * controls the dialect of the <i>expression language</i> + * controls the dialect of the <em>expression language</em> * that BeanUtils recongnises. * <p> * {@link DefaultResolver} is the default implementation used. @@ -160,9 +160,9 @@ public class PropertyUtilsBean { /** * Configure the {@link Resolver} implementation used by BeanUtils. * <p> - * The {@link Resolver} handles the <i>property name</i> + * The {@link Resolver} handles the <em>property name</em> * expressions and the implementation in use effectively - * controls the dialect of the <i>expression language</i> + * controls the dialect of the <em>expression language</em> * that BeanUtils recongnises. * <p> * {@link DefaultResolver} is the default implementation used. @@ -1937,7 +1937,7 @@ public class PropertyUtilsBean { * a method existed, and a.put(b, obj) otherwise. In version 1.5 it meant * a.put(b, obj) always (ie the same as the behaviour in the current version). * In versions prior to 1.5 it meant a.setB(obj) always. [yes, this is - * all <i>very</i> unfortunate] + * all <em>very</em> unfortunate] * <p> * Users who would like to customise the meaning of "a.b" in method * setNestedProperty when a is a Map can create a custom subclass of @@ -1948,8 +1948,8 @@ public class PropertyUtilsBean { * <p> * Note, however, that the recommended solution for objects that * implement Map but want their simple properties to come first is - * for <i>those</i> objects to override their get/put methods to implement - * that behaviour, and <i>not</i> to solve the problem by modifying the + * for <em>those</em> objects to override their get/put methods to implement + * that behaviour, and <em>not</em> to solve the problem by modifying the * default behaviour of the PropertyUtilsBean class by overriding this * method. * diff --git a/src/main/java/org/apache/commons/beanutils/WrapDynaClass.java b/src/main/java/org/apache/commons/beanutils/WrapDynaClass.java index dda4ce14..cc5af92a 100644 --- a/src/main/java/org/apache/commons/beanutils/WrapDynaClass.java +++ b/src/main/java/org/apache/commons/beanutils/WrapDynaClass.java @@ -397,7 +397,7 @@ public class WrapDynaClass implements DynaClass { * instance for the specified bean class. * * @param beanClass Bean class for which a WrapDynaClass is requested - * @return A new <i>Wrap</i> {@link DynaClass} + * @return A new <em>Wrap</em> {@link DynaClass} */ public static WrapDynaClass createDynaClass(final Class<?> beanClass) { @@ -415,7 +415,7 @@ public class WrapDynaClass implements DynaClass { * {@code PropertyUtilsBean} object is provided, the default instance is used. * @param beanClass Bean class for which a WrapDynaClass is requested * @param pu the optional {@code PropertyUtilsBean} to be used for introspection - * @return A new <i>Wrap</i> {@link DynaClass} + * @return A new <em>Wrap</em> {@link DynaClass} * @since 1.9 */ public static WrapDynaClass createDynaClass(final Class<?> beanClass, final PropertyUtilsBean pu) { diff --git a/src/main/java/org/apache/commons/beanutils/converters/AbstractConverter.java b/src/main/java/org/apache/commons/beanutils/converters/AbstractConverter.java index 70af1736..42c01188 100644 --- a/src/main/java/org/apache/commons/beanutils/converters/AbstractConverter.java +++ b/src/main/java/org/apache/commons/beanutils/converters/AbstractConverter.java @@ -83,14 +83,14 @@ public abstract class AbstractConverter implements Converter { // ----------------------------------------------------------- Constructors /** - * Construct a <i>Converter</i> that throws a + * Construct a <em>Converter</em> that throws a * <code>ConversionException</code> if an error occurs. */ public AbstractConverter() { } /** - * Construct a <i>Converter</i> that returns a default + * Construct a <em>Converter</em> that returns a default * value if an error occurs. * * @param defaultValue The default value to be returned @@ -183,7 +183,7 @@ public abstract class AbstractConverter implements Converter { * <p> * <b>N.B.</b>This implementation simply uses the value's * <code>toString()</code> method and should be overriden if a - * more sophisticated mechanism for <i>conversion to a String</i> + * more sophisticated mechanism for <em>conversion to a String</em> * is required. * * @param value The input value to be converted. diff --git a/src/main/java/org/apache/commons/beanutils/converters/ArrayConverter.java b/src/main/java/org/apache/commons/beanutils/converters/ArrayConverter.java index 82776c89..e6644cca 100644 --- a/src/main/java/org/apache/commons/beanutils/converters/ArrayConverter.java +++ b/src/main/java/org/apache/commons/beanutils/converters/ArrayConverter.java @@ -33,7 +33,7 @@ import org.apache.commons.beanutils.Converter; * Generic {@link Converter} implementation that handles conversion * to and from <b>array</b> objects. * <p> - * Can be configured to either return a <i>default value</i> or throw a + * Can be configured to either return a <em>default value</em> or throw a * <code>ConversionException</code> if a conversion error occurs. * <p> * The main features of this implementation are: @@ -50,7 +50,7 @@ import org.apache.commons.beanutils.Converter; * <li><b>Delimited Lists</b> - can Convert <b>to</b> and <b>from</b> a * delimited list in String format.</li> * <li><b>Conversion to String</b> - converts an array to a - * <code>String</code> in one of two ways: as a <i>delimited list</i> + * <code>String</code> in one of two ways: as a <em>delimited list</em> * or by converting the first element in the array to a String - this * is controlled by the {@link ArrayConverter#setOnlyFirstToString(boolean)} * parameter.</li> @@ -59,20 +59,20 @@ import org.apache.commons.beanutils.Converter; * within each other - see example below.</li> * <li><b>Default Value</b></li> * <ul> - * <li><b><i>No Default</b></i> - use the + * <li><b><em>No Default</b></em> - use the * {@link ArrayConverter#ArrayConverter(Class, Converter)} * constructor to create a converter which throws a * {@link ConversionException} if the value is missing or * invalid.</li> - * <li><b><i>Default values</b></i> - use the + * <li><b><em>Default values</b></em> - use the * {@link ArrayConverter#ArrayConverter(Class, Converter, int)} * constructor to create a converter which returns a <i>default - * value</i>. The <i>defaultSize</i> parameter controls the - * <i>default value</i> in the following way:</li> + * value</i>. The <em>defaultSize</em> parameter controls the + * <em>default value</em> in the following way:</li> * <ul> - * <li><i>defaultSize < 0</i> - default is <code>null</code></li> - * <li><i>defaultSize = 0</i> - default is an array of length zero</li> - * <li><i>defaultSize > 0</i> - default is an array with a + * <li><em>defaultSize < 0</em> - default is <code>null</code></li> + * <li><em>defaultSize = 0</em> - default is an array of length zero</li> + * <li><em>defaultSize > 0</em> - default is an array with a * length specified by <code>defaultSize</code> (N.B. elements * in the array will be <code>null</code>)</li> * </ul> @@ -346,7 +346,7 @@ public class ArrayConverter extends AbstractConverter { * <strong>N.B.</strong> The method is called by both the * {@link ArrayConverter#convertToType(Class, Object)} and * {@link ArrayConverter#convertToString(Object)} methods for - * <i>non-array</i> types. + * <em>non-array</em> types. * * @param type The type to convert the value to * @param value value to be converted diff --git a/src/main/java/org/apache/commons/beanutils/converters/BigDecimalConverter.java b/src/main/java/org/apache/commons/beanutils/converters/BigDecimalConverter.java index 45e1d891..d58870ca 100644 --- a/src/main/java/org/apache/commons/beanutils/converters/BigDecimalConverter.java +++ b/src/main/java/org/apache/commons/beanutils/converters/BigDecimalConverter.java @@ -27,7 +27,7 @@ import java.math.BigDecimal; * or by specifying a format pattern. See the {@link NumberConverter} * documentation for further details. * <p> - * Can be configured to either return a <i>default value</i> or throw a + * Can be configured to either return a <em>default value</em> or throw a * <code>ConversionException</code> if a conversion error occurs. * * @since 1.3 @@ -35,7 +35,7 @@ import java.math.BigDecimal; public final class BigDecimalConverter extends NumberConverter { /** - * Construct a <b>java.math.BigDecimal</b> <i>Converter</i> that throws + * Construct a <b>java.math.BigDecimal</b> <em>Converter</em> that throws * a <code>ConversionException</code> if an error occurs. */ public BigDecimalConverter() { @@ -43,7 +43,7 @@ public final class BigDecimalConverter extends NumberConverter { } /** - * Construct a <b>java.math.BigDecimal</b> <i>Converter</i> that returns + * Construct a <b>java.math.BigDecimal</b> <em>Converter</em> that returns * a default value if an error occurs. * * @param defaultValue The default value to be returned diff --git a/src/main/java/org/apache/commons/beanutils/converters/BigIntegerConverter.java b/src/main/java/org/apache/commons/beanutils/converters/BigIntegerConverter.java index edda847d..9ac3eddc 100644 --- a/src/main/java/org/apache/commons/beanutils/converters/BigIntegerConverter.java +++ b/src/main/java/org/apache/commons/beanutils/converters/BigIntegerConverter.java @@ -27,7 +27,7 @@ import java.math.BigInteger; * or by specifying a format pattern. See the {@link NumberConverter} * documentation for further details. * <p> - * Can be configured to either return a <i>default value</i> or throw a + * Can be configured to either return a <em>default value</em> or throw a * <code>ConversionException</code> if a conversion error occurs. * * @since 1.3 @@ -35,7 +35,7 @@ import java.math.BigInteger; public final class BigIntegerConverter extends NumberConverter { /** - * Construct a <b>java.math.BigInteger</b> <i>Converter</i> that throws + * Construct a <b>java.math.BigInteger</b> <em>Converter</em> that throws * a <code>ConversionException</code> if an error occurs. */ public BigIntegerConverter() { @@ -43,7 +43,7 @@ public final class BigIntegerConverter extends NumberConverter { } /** - * Construct a <b>java.math.BigInteger</b> <i>Converter</i> that returns + * Construct a <b>java.math.BigInteger</b> <em>Converter</em> that returns * a default value if an error occurs. * * @param defaultValue The default value to be returned diff --git a/src/main/java/org/apache/commons/beanutils/converters/BooleanArrayConverter.java b/src/main/java/org/apache/commons/beanutils/converters/BooleanArrayConverter.java index 247eac0c..a6463578 100644 --- a/src/main/java/org/apache/commons/beanutils/converters/BooleanArrayConverter.java +++ b/src/main/java/org/apache/commons/beanutils/converters/BooleanArrayConverter.java @@ -157,9 +157,9 @@ public final class BooleanArrayConverter extends AbstractArrayConverter { * BooleanConverter associated with this object, then what happens depends * on whether that BooleanConverter has a default value or not: if it does, * then that unrecognized element is converted into the BooleanConverter's - * default value. If the BooleanConverter does <i>not</i> have a default + * default value. If the BooleanConverter does <em>not</em> have a default * value, then the default value for this object is returned as the - * <i>complete</i> conversion result (not just for the element), or an + * <em>complete</em> conversion result (not just for the element), or an * exception is thrown if this object has no default value defined.</p> * * @param type is the type to which this value should be converted. In the diff --git a/src/main/java/org/apache/commons/beanutils/converters/BooleanConverter.java b/src/main/java/org/apache/commons/beanutils/converters/BooleanConverter.java index 7061d9f4..9a4268fe 100644 --- a/src/main/java/org/apache/commons/beanutils/converters/BooleanConverter.java +++ b/src/main/java/org/apache/commons/beanutils/converters/BooleanConverter.java @@ -22,7 +22,7 @@ package org.apache.commons.beanutils.converters; * {@link org.apache.commons.beanutils.Converter} implementation that * handles conversion to and from <b>java.lang.Boolean</b> objects. * <p> - * Can be configured to either return a <i>default value</i> or throw a + * Can be configured to either return a <em>default value</em> or throw a * <code>ConversionException</code> if a conversion error occurs. * <p> * By default any object whose string representation is one of the values diff --git a/src/main/java/org/apache/commons/beanutils/converters/ByteConverter.java b/src/main/java/org/apache/commons/beanutils/converters/ByteConverter.java index f4a343bb..85c268a3 100644 --- a/src/main/java/org/apache/commons/beanutils/converters/ByteConverter.java +++ b/src/main/java/org/apache/commons/beanutils/converters/ByteConverter.java @@ -25,7 +25,7 @@ package org.apache.commons.beanutils.converters; * or by specifying a format pattern. See the {@link NumberConverter} * documentation for further details. * <p> - * Can be configured to either return a <i>default value</i> or throw a + * Can be configured to either return a <em>default value</em> or throw a * <code>ConversionException</code> if a conversion error occurs. * * @since 1.3 @@ -33,7 +33,7 @@ package org.apache.commons.beanutils.converters; public final class ByteConverter extends NumberConverter { /** - * Construct a <b>java.lang.Byte</b> <i>Converter</i> that throws + * Construct a <b>java.lang.Byte</b> <em>Converter</em> that throws * a <code>ConversionException</code> if an error occurs. */ public ByteConverter() { @@ -41,7 +41,7 @@ public final class ByteConverter extends NumberConverter { } /** - * Construct a <b>java.lang.Byte</b> <i>Converter</i> that returns + * Construct a <b>java.lang.Byte</b> <em>Converter</em> that returns * a default value if an error occurs. * * @param defaultValue The default value to be returned diff --git a/src/main/java/org/apache/commons/beanutils/converters/CalendarConverter.java b/src/main/java/org/apache/commons/beanutils/converters/CalendarConverter.java index d67256bd..cd93cfdb 100644 --- a/src/main/java/org/apache/commons/beanutils/converters/CalendarConverter.java +++ b/src/main/java/org/apache/commons/beanutils/converters/CalendarConverter.java @@ -27,7 +27,7 @@ import java.util.Calendar; * patterns (note, there is no default String conversion for Calendar). * See the {@link DateTimeConverter} documentation for further details. * <p> - * Can be configured to either return a <i>default value</i> or throw a + * Can be configured to either return a <em>default value</em> or throw a * <code>ConversionException</code> if a conversion error occurs. * * @since 1.8.0 @@ -35,7 +35,7 @@ import java.util.Calendar; public final class CalendarConverter extends DateTimeConverter { /** - * Construct a <b>java.util.Calendar</b> <i>Converter</i> that throws + * Construct a <b>java.util.Calendar</b> <em>Converter</em> that throws * a <code>ConversionException</code> if an error occurs. */ public CalendarConverter() { @@ -43,7 +43,7 @@ public final class CalendarConverter extends DateTimeConverter { } /** - * Construct a <b>java.util.Calendar</b> <i>Converter</i> that returns + * Construct a <b>java.util.Calendar</b> <em>Converter</em> that returns * a default value if an error occurs. * * @param defaultValue The default value to be returned diff --git a/src/main/java/org/apache/commons/beanutils/converters/CharacterConverter.java b/src/main/java/org/apache/commons/beanutils/converters/CharacterConverter.java index 48243743..bd09ac5d 100644 --- a/src/main/java/org/apache/commons/beanutils/converters/CharacterConverter.java +++ b/src/main/java/org/apache/commons/beanutils/converters/CharacterConverter.java @@ -21,7 +21,7 @@ package org.apache.commons.beanutils.converters; * {@link org.apache.commons.beanutils.Converter} implementaion that handles conversion * to and from <b>java.lang.Character</b> objects. * <p> - * Can be configured to either return a <i>default value</i> or throw a + * Can be configured to either return a <em>default value</em> or throw a * <code>ConversionException</code> if a conversion error occurs. * * @since 1.3 @@ -29,7 +29,7 @@ package org.apache.commons.beanutils.converters; public final class CharacterConverter extends AbstractConverter { /** - * Construct a <b>java.lang.Character</b> <i>Converter</i> that throws + * Construct a <b>java.lang.Character</b> <em>Converter</em> that throws * a <code>ConversionException</code> if an error occurs. */ public CharacterConverter() { @@ -37,7 +37,7 @@ public final class CharacterConverter extends AbstractConverter { } /** - * Construct a <b>java.lang.Character</b> <i>Converter</i> that returns + * Construct a <b>java.lang.Character</b> <em>Converter</em> that returns * a default value if an error occurs. * * @param defaultValue The default value to be returned diff --git a/src/main/java/org/apache/commons/beanutils/converters/ClassConverter.java b/src/main/java/org/apache/commons/beanutils/converters/ClassConverter.java index a525c0b0..2979b1a1 100644 --- a/src/main/java/org/apache/commons/beanutils/converters/ClassConverter.java +++ b/src/main/java/org/apache/commons/beanutils/converters/ClassConverter.java @@ -24,7 +24,7 @@ package org.apache.commons.beanutils.converters; * loader (if it exists); otherwise the class loader that loaded this class * will be used. * <p> - * Can be configured to either return a <i>default value</i> or throw a + * Can be configured to either return a <em>default value</em> or throw a * <code>ConversionException</code> if a conversion error occurs. * * @since 1.4 @@ -32,7 +32,7 @@ package org.apache.commons.beanutils.converters; public final class ClassConverter extends AbstractConverter { /** - * Construct a <b>java.lang.Class</b> <i>Converter</i> that throws + * Construct a <b>java.lang.Class</b> <em>Converter</em> that throws * a <code>ConversionException</code> if an error occurs. */ public ClassConverter() { @@ -40,7 +40,7 @@ public final class ClassConverter extends AbstractConverter { } /** - * Construct a <b>java.lang.Class</b> <i>Converter</i> that returns + * Construct a <b>java.lang.Class</b> <em>Converter</em> that returns * a default value if an error occurs. * * @param defaultValue The default value to be returned diff --git a/src/main/java/org/apache/commons/beanutils/converters/DateConverter.java b/src/main/java/org/apache/commons/beanutils/converters/DateConverter.java index 690d9be6..b6299c7e 100644 --- a/src/main/java/org/apache/commons/beanutils/converters/DateConverter.java +++ b/src/main/java/org/apache/commons/beanutils/converters/DateConverter.java @@ -27,7 +27,7 @@ import java.util.Date; * patterns (note, there is no default String conversion for Date). * See the {@link DateTimeConverter} documentation for further details. * <p> - * Can be configured to either return a <i>default value</i> or throw a + * Can be configured to either return a <em>default value</em> or throw a * <code>ConversionException</code> if a conversion error occurs. * * @since 1.8.0 @@ -35,7 +35,7 @@ import java.util.Date; public final class DateConverter extends DateTimeConverter { /** - * Construct a <b>java.util.Date</b> <i>Converter</i> that throws + * Construct a <b>java.util.Date</b> <em>Converter</em> that throws * a <code>ConversionException</code> if an error occurs. */ public DateConverter() { @@ -43,7 +43,7 @@ public final class DateConverter extends DateTimeConverter { } /** - * Construct a <b>java.util.Date</b> <i>Converter</i> that returns + * Construct a <b>java.util.Date</b> <em>Converter</em> that returns * a default value if an error occurs. * * @param defaultValue The default value to be returned diff --git a/src/main/java/org/apache/commons/beanutils/converters/DateTimeConverter.java b/src/main/java/org/apache/commons/beanutils/converters/DateTimeConverter.java index a3bec95b..b99da3a6 100644 --- a/src/main/java/org/apache/commons/beanutils/converters/DateTimeConverter.java +++ b/src/main/java/org/apache/commons/beanutils/converters/DateTimeConverter.java @@ -31,7 +31,7 @@ import org.apache.commons.beanutils.ConversionException; * that handles conversion to and from <b>date/time</b> objects. * <p> * This implementation handles conversion for the following - * <i>date/time</i> types. + * <em>date/time</em> types. * <ul> * <li><code>java.util.Date</code></li> * <li><code>java.util.Calendar</code></li> @@ -88,7 +88,7 @@ public abstract class DateTimeConverter extends AbstractConverter { // ----------------------------------------------------------- Constructors /** - * Construct a Date/Time <i>Converter</i> that throws a + * Construct a Date/Time <em>Converter</em> that throws a * <code>ConversionException</code> if an error occurs. */ public DateTimeConverter() { @@ -96,7 +96,7 @@ public abstract class DateTimeConverter extends AbstractConverter { } /** - * Construct a Date/Time <i>Converter</i> that returns a default + * Construct a Date/Time <em>Converter</em> that returns a default * value if an error occurs. * * @param defaultValue The default value to be returned @@ -140,7 +140,7 @@ public abstract class DateTimeConverter extends AbstractConverter { } /** - * Return the Locale for the <i>Converter</i> + * Return the Locale for the <em>Converter</em> * (or <code>null</code> if none specified). * * @return The locale to use for conversion @@ -150,7 +150,7 @@ public abstract class DateTimeConverter extends AbstractConverter { } /** - * Set the Locale for the <i>Converter</i>. + * Set the Locale for the <em>Converter</em>. * * @param locale The Locale. */ @@ -213,7 +213,7 @@ public abstract class DateTimeConverter extends AbstractConverter { * one or more patterns (using <code>setPatterns()</code>), then * the first pattern will be used to format the date into a String. * Otherwise the default <code>DateFormat</code> for the default locale - * (and <i>style</i> if configured) will be used. + * (and <em>style</em> if configured) will be used. * * @param value The input value to be converted * @return the converted String value. @@ -275,7 +275,7 @@ public abstract class DateTimeConverter extends AbstractConverter { * with one or more patterns (using <code>setPatterns()</code>), then * the conversion is attempted with each of the specified patterns. * Otherwise the default <code>DateFormat</code> for the default locale - * (and <i>style</i> if configured) will be used. + * (and <em>style</em> if configured) will be used. * * @param <T> The desired target type of the conversion. * @param targetType Data type to which this value should be converted. @@ -349,7 +349,7 @@ public abstract class DateTimeConverter extends AbstractConverter { /** * Convert a long value to the specified Date type for this - * <i>Converter</i>. + * <em>Converter</em>. * <p> * * This method handles conversion to the following types: diff --git a/src/main/java/org/apache/commons/beanutils/converters/DoubleConverter.java b/src/main/java/org/apache/commons/beanutils/converters/DoubleConverter.java index f3944de9..02134bd3 100644 --- a/src/main/java/org/apache/commons/beanutils/converters/DoubleConverter.java +++ b/src/main/java/org/apache/commons/beanutils/converters/DoubleConverter.java @@ -25,7 +25,7 @@ package org.apache.commons.beanutils.converters; * or by specifying a format pattern. See the {@link NumberConverter} * documentation for further details. * <p> - * Can be configured to either return a <i>default value</i> or throw a + * Can be configured to either return a <em>default value</em> or throw a * <code>ConversionException</code> if a conversion error occurs. * * @since 1.3 @@ -33,7 +33,7 @@ package org.apache.commons.beanutils.converters; public final class DoubleConverter extends NumberConverter { /** - * Construct a <b>java.lang.Double</b> <i>Converter</i> that throws + * Construct a <b>java.lang.Double</b> <em>Converter</em> that throws * a <code>ConversionException</code> if an error occurs. */ public DoubleConverter() { @@ -41,7 +41,7 @@ public final class DoubleConverter extends NumberConverter { } /** - * Construct a <b>java.lang.Double</b> <i>Converter</i> that returns + * Construct a <b>java.lang.Double</b> <em>Converter</em> that returns * a default value if an error occurs. * * @param defaultValue The default value to be returned diff --git a/src/main/java/org/apache/commons/beanutils/converters/FileConverter.java b/src/main/java/org/apache/commons/beanutils/converters/FileConverter.java index 3328cbe2..9e1584ab 100644 --- a/src/main/java/org/apache/commons/beanutils/converters/FileConverter.java +++ b/src/main/java/org/apache/commons/beanutils/converters/FileConverter.java @@ -22,7 +22,7 @@ import java.io.File; * {@link org.apache.commons.beanutils.Converter} implementaion that handles conversion * to and from <b>java.io.File</b> objects. * <p> - * Can be configured to either return a <i>default value</i> or throw a + * Can be configured to either return a <em>default value</em> or throw a * <code>ConversionException</code> if a conversion error occurs. * * @since 1.6 @@ -30,7 +30,7 @@ import java.io.File; public final class FileConverter extends AbstractConverter { /** - * Construct a <b>java.io.File</b> <i>Converter</i> that throws + * Construct a <b>java.io.File</b> <em>Converter</em> that throws * a <code>ConversionException</code> if an error occurs. */ public FileConverter() { @@ -38,7 +38,7 @@ public final class FileConverter extends AbstractConverter { } /** - * Construct a <b>java.io.File</b> <i>Converter</i> that returns + * Construct a <b>java.io.File</b> <em>Converter</em> that returns * a default value if an error occurs. * * @param defaultValue The default value to be returned diff --git a/src/main/java/org/apache/commons/beanutils/converters/FloatConverter.java b/src/main/java/org/apache/commons/beanutils/converters/FloatConverter.java index 7a0c9580..385141ea 100644 --- a/src/main/java/org/apache/commons/beanutils/converters/FloatConverter.java +++ b/src/main/java/org/apache/commons/beanutils/converters/FloatConverter.java @@ -25,7 +25,7 @@ package org.apache.commons.beanutils.converters; * or by specifying a format pattern. See the {@link NumberConverter} * documentation for further details. * <p> - * Can be configured to either return a <i>default value</i> or throw a + * Can be configured to either return a <em>default value</em> or throw a * <code>ConversionException</code> if a conversion error occurs. * * @since 1.3 @@ -33,7 +33,7 @@ package org.apache.commons.beanutils.converters; public final class FloatConverter extends NumberConverter { /** - * Construct a <b>java.lang.Float</b> <i>Converter</i> that throws + * Construct a <b>java.lang.Float</b> <em>Converter</em> that throws * a <code>ConversionException</code> if an error occurs. */ public FloatConverter() { @@ -41,7 +41,7 @@ public final class FloatConverter extends NumberConverter { } /** - * Construct a <b>java.lang.Float</b> <i>Converter</i> that returns + * Construct a <b>java.lang.Float</b> <em>Converter</em> that returns * a default value if an error occurs. * * @param defaultValue The default value to be returned diff --git a/src/main/java/org/apache/commons/beanutils/converters/IntegerConverter.java b/src/main/java/org/apache/commons/beanutils/converters/IntegerConverter.java index 9a28a498..57c91743 100644 --- a/src/main/java/org/apache/commons/beanutils/converters/IntegerConverter.java +++ b/src/main/java/org/apache/commons/beanutils/converters/IntegerConverter.java @@ -25,7 +25,7 @@ package org.apache.commons.beanutils.converters; * or by specifying a format pattern. See the {@link NumberConverter} * documentation for further details. * <p> - * Can be configured to either return a <i>default value</i> or throw a + * Can be configured to either return a <em>default value</em> or throw a * <code>ConversionException</code> if a conversion error occurs. * * @since 1.3 @@ -33,7 +33,7 @@ package org.apache.commons.beanutils.converters; public final class IntegerConverter extends NumberConverter { /** - * Construct a <b>java.lang.Integer</b> <i>Converter</i> that throws + * Construct a <b>java.lang.Integer</b> <em>Converter</em> that throws * a <code>ConversionException</code> if an error occurs. */ public IntegerConverter() { @@ -41,7 +41,7 @@ public final class IntegerConverter extends NumberConverter { } /** - * Construct a <b>java.lang.Integer</b> <i>Converter</i> that returns + * Construct a <b>java.lang.Integer</b> <em>Converter</em> that returns * a default value if an error occurs. * * @param defaultValue The default value to be returned diff --git a/src/main/java/org/apache/commons/beanutils/converters/LongConverter.java b/src/main/java/org/apache/commons/beanutils/converters/LongConverter.java index c7d0da99..3157e765 100644 --- a/src/main/java/org/apache/commons/beanutils/converters/LongConverter.java +++ b/src/main/java/org/apache/commons/beanutils/converters/LongConverter.java @@ -25,7 +25,7 @@ package org.apache.commons.beanutils.converters; * or by specifying a format pattern. See the {@link NumberConverter} * documentation for further details. * <p> - * Can be configured to either return a <i>default value</i> or throw a + * Can be configured to either return a <em>default value</em> or throw a * <code>ConversionException</code> if a conversion error occurs. * * @since 1.3 @@ -33,7 +33,7 @@ package org.apache.commons.beanutils.converters; public final class LongConverter extends NumberConverter { /** - * Construct a <b>java.lang.Long</b> <i>Converter</i> that throws + * Construct a <b>java.lang.Long</b> <em>Converter</em> that throws * a <code>ConversionException</code> if an error occurs. */ public LongConverter() { @@ -41,7 +41,7 @@ public final class LongConverter extends NumberConverter { } /** - * Construct a <b>java.lang.Long</b> <i>Converter</i> that returns + * Construct a <b>java.lang.Long</b> <em>Converter</em> that returns * a default value if an error occurs. * * @param defaultValue The default value to be returned diff --git a/src/main/java/org/apache/commons/beanutils/converters/NumberConverter.java b/src/main/java/org/apache/commons/beanutils/converters/NumberConverter.java index 6b7b599a..535ab768 100644 --- a/src/main/java/org/apache/commons/beanutils/converters/NumberConverter.java +++ b/src/main/java/org/apache/commons/beanutils/converters/NumberConverter.java @@ -74,8 +74,8 @@ import org.apache.commons.beanutils.ConversionException; * </ul> * * <p> - * <strong>N.B.</strong>Patterns can only be specified using the <i>standard</i> - * pattern characters and NOT in <i>localized</i> form (see <code>java.text.DecimalFormat</code>). + * <strong>N.B.</strong>Patterns can only be specified using the <em>standard</em> + * pattern characters and NOT in <em>localized</em> form (see <code>java.text.DecimalFormat</code>). * For example to cater for number styles used in Germany such as <code>0.000,00</code> the pattern * is specified in the normal form <code>0,000.00</code> and the locale set to <code>Locale.GERMANY</code>. * @@ -94,7 +94,7 @@ public abstract class NumberConverter extends AbstractConverter { // ----------------------------------------------------------- Constructors /** - * Construct a <b>java.lang.Number</b> <i>Converter</i> + * Construct a <b>java.lang.Number</b> <em>Converter</em> * that throws a <code>ConversionException</code> if a error occurs. * * @param allowDecimals Indicates whether decimals are allowed @@ -105,7 +105,7 @@ public abstract class NumberConverter extends AbstractConverter { } /** - * Construct a <code>java.lang.Number</code> <i>Converter</i> that returns + * Construct a <code>java.lang.Number</code> <em>Converter</em> that returns * a default value if an error occurs. * * @param allowDecimals Indicates whether decimals are allowed @@ -168,7 +168,7 @@ public abstract class NumberConverter extends AbstractConverter { } /** - * Return the Locale for the <i>Converter</i> + * Return the Locale for the <em>Converter</em> * (or <code>null</code> if none specified). * * @return The locale to use for conversion @@ -178,7 +178,7 @@ public abstract class NumberConverter extends AbstractConverter { } /** - * Set the Locale for the <i>Converter</i>. + * Set the Locale for the <em>Converter</em>. * * @param locale The locale to use for conversion */ @@ -277,7 +277,7 @@ public abstract class NumberConverter extends AbstractConverter { /** * Convert any Number object to the specified type for this - * <i>Converter</i>. + * <em>Converter</em>. * <p> * This method handles conversion to the following types: * <ul> diff --git a/src/main/java/org/apache/commons/beanutils/converters/ShortConverter.java b/src/main/java/org/apache/commons/beanutils/converters/ShortConverter.java index bd9b586e..b7a6f797 100644 --- a/src/main/java/org/apache/commons/beanutils/converters/ShortConverter.java +++ b/src/main/java/org/apache/commons/beanutils/converters/ShortConverter.java @@ -25,7 +25,7 @@ package org.apache.commons.beanutils.converters; * or by specifying a format pattern. See the {@link NumberConverter} * documentation for further details. * <p> - * Can be configured to either return a <i>default value</i> or throw a + * Can be configured to either return a <em>default value</em> or throw a * <code>ConversionException</code> if a conversion error occurs. * * @since 1.3 @@ -33,7 +33,7 @@ package org.apache.commons.beanutils.converters; public final class ShortConverter extends NumberConverter { /** - * Construct a <b>java.lang.Short</b> <i>Converter</i> that throws + * Construct a <b>java.lang.Short</b> <em>Converter</em> that throws * a <code>ConversionException</code> if an error occurs. */ public ShortConverter() { @@ -41,7 +41,7 @@ public final class ShortConverter extends NumberConverter { } /** - * Construct a <b>java.lang.Short</b> <i>Converter</i> that returns + * Construct a <b>java.lang.Short</b> <em>Converter</em> that returns * a default value if an error occurs. * * @param defaultValue The default value to be returned diff --git a/src/main/java/org/apache/commons/beanutils/converters/SqlDateConverter.java b/src/main/java/org/apache/commons/beanutils/converters/SqlDateConverter.java index 0136678a..dbeaadec 100644 --- a/src/main/java/org/apache/commons/beanutils/converters/SqlDateConverter.java +++ b/src/main/java/org/apache/commons/beanutils/converters/SqlDateConverter.java @@ -27,7 +27,7 @@ import java.sql.Date; * Locale's default format or by specifying a set of format patterns. * See the {@link DateTimeConverter} documentation for further details. * <p> - * Can be configured to either return a <i>default value</i> or throw a + * Can be configured to either return a <em>default value</em> or throw a * <code>ConversionException</code> if a conversion error occurs. * * @since 1.3 @@ -35,7 +35,7 @@ import java.sql.Date; public final class SqlDateConverter extends DateTimeConverter { /** - * Construct a <b>java.sql.Date</b> <i>Converter</i> that throws + * Construct a <b>java.sql.Date</b> <em>Converter</em> that throws * a <code>ConversionException</code> if an error occurs. */ public SqlDateConverter() { @@ -43,7 +43,7 @@ public final class SqlDateConverter extends DateTimeConverter { } /** - * Construct a <b>java.sql.Date</b> <i>Converter</i> that returns + * Construct a <b>java.sql.Date</b> <em>Converter</em> that returns * a default value if an error occurs. * * @param defaultValue The default value to be returned diff --git a/src/main/java/org/apache/commons/beanutils/converters/SqlTimeConverter.java b/src/main/java/org/apache/commons/beanutils/converters/SqlTimeConverter.java index b3a83e9a..bfabef75 100644 --- a/src/main/java/org/apache/commons/beanutils/converters/SqlTimeConverter.java +++ b/src/main/java/org/apache/commons/beanutils/converters/SqlTimeConverter.java @@ -30,7 +30,7 @@ import java.util.TimeZone; * Locale's default format or by specifying a set of format patterns. * See the {@link DateTimeConverter} documentation for further details. * <p> - * Can be configured to either return a <i>default value</i> or throw a + * Can be configured to either return a <em>default value</em> or throw a * <code>ConversionException</code> if a conversion error occurs. * * @since 1.3 @@ -38,7 +38,7 @@ import java.util.TimeZone; public final class SqlTimeConverter extends DateTimeConverter { /** - * Construct a <b>java.sql.Time</b> <i>Converter</i> that throws + * Construct a <b>java.sql.Time</b> <em>Converter</em> that throws * a <code>ConversionException</code> if an error occurs. */ public SqlTimeConverter() { @@ -46,7 +46,7 @@ public final class SqlTimeConverter extends DateTimeConverter { } /** - * Construct a <b>java.sql.Time</b> <i>Converter</i> that returns + * Construct a <b>java.sql.Time</b> <em>Converter</em> that returns * a default value if an error occurs. * * @param defaultValue The default value to be returned diff --git a/src/main/java/org/apache/commons/beanutils/converters/SqlTimestampConverter.java b/src/main/java/org/apache/commons/beanutils/converters/SqlTimestampConverter.java index 37ff84ac..23a9ead4 100644 --- a/src/main/java/org/apache/commons/beanutils/converters/SqlTimestampConverter.java +++ b/src/main/java/org/apache/commons/beanutils/converters/SqlTimestampConverter.java @@ -30,7 +30,7 @@ import java.util.TimeZone; * Locale's default format or by specifying a set of format patterns. * See the {@link DateTimeConverter} documentation for further details. * <p> - * Can be configured to either return a <i>default value</i> or throw a + * Can be configured to either return a <em>default value</em> or throw a * <code>ConversionException</code> if a conversion error occurs. * * @since 1.3 @@ -38,7 +38,7 @@ import java.util.TimeZone; public final class SqlTimestampConverter extends DateTimeConverter { /** - * Construct a <b>java.sql.Timestamp</b> <i>Converter</i> that throws + * Construct a <b>java.sql.Timestamp</b> <em>Converter</em> that throws * a <code>ConversionException</code> if an error occurs. */ public SqlTimestampConverter() { @@ -46,7 +46,7 @@ public final class SqlTimestampConverter extends DateTimeConverter { } /** - * Construct a <b>java.sql.Timestamp</b> <i>Converter</i> that returns + * Construct a <b>java.sql.Timestamp</b> <em>Converter</em> that returns * a default value if an error occurs. * * @param defaultValue The default value to be returned diff --git a/src/main/java/org/apache/commons/beanutils/converters/StringConverter.java b/src/main/java/org/apache/commons/beanutils/converters/StringConverter.java index a82abb65..c527b061 100644 --- a/src/main/java/org/apache/commons/beanutils/converters/StringConverter.java +++ b/src/main/java/org/apache/commons/beanutils/converters/StringConverter.java @@ -44,7 +44,7 @@ public final class StringConverter extends AbstractConverter { /** - * Construct a <b>java.lang.String</b> <i>Converter</i> that throws + * Construct a <b>java.lang.String</b> <em>Converter</em> that throws * a <code>ConversionException</code> if an error occurs. */ public StringConverter() { @@ -52,7 +52,7 @@ public final class StringConverter extends AbstractConverter { } /** - * Construct a <b>java.lang.String</b> <i>Converter</i> that returns + * Construct a <b>java.lang.String</b> <em>Converter</em> that returns * a default value if an error occurs. * * @param defaultValue The default value to be returned diff --git a/src/main/java/org/apache/commons/beanutils/converters/URLConverter.java b/src/main/java/org/apache/commons/beanutils/converters/URLConverter.java index cfc27881..8a3d5501 100644 --- a/src/main/java/org/apache/commons/beanutils/converters/URLConverter.java +++ b/src/main/java/org/apache/commons/beanutils/converters/URLConverter.java @@ -22,7 +22,7 @@ import java.net.URL; * {@link org.apache.commons.beanutils.Converter} implementaion that handles conversion * to and from <b>java.net.URL</b> objects. * <p> - * Can be configured to either return a <i>default value</i> or throw a + * Can be configured to either return a <em>default value</em> or throw a * <code>ConversionException</code> if a conversion error occurs. * * @since 1.3 @@ -30,7 +30,7 @@ import java.net.URL; public final class URLConverter extends AbstractConverter { /** - * Construct a <b>java.net.URL</b> <i>Converter</i> that throws + * Construct a <b>java.net.URL</b> <em>Converter</em> that throws * a <code>ConversionException</code> if an error occurs. */ public URLConverter() { @@ -38,7 +38,7 @@ public final class URLConverter extends AbstractConverter { } /** - * Construct a <b>java.net.URL</b> <i>Converter</i> that returns + * Construct a <b>java.net.URL</b> <em>Converter</em> that returns * a default value if an error occurs. * * @param defaultValue The default value to be returned diff --git a/src/main/java/org/apache/commons/beanutils/expression/Resolver.java b/src/main/java/org/apache/commons/beanutils/expression/Resolver.java index 91ae8258..5fbd7dd4 100644 --- a/src/main/java/org/apache/commons/beanutils/expression/Resolver.java +++ b/src/main/java/org/apache/commons/beanutils/expression/Resolver.java @@ -20,8 +20,8 @@ package org.apache.commons.beanutils.expression; * Property Name Expression Resolver. * <p> * Methods such as PropertyUtilsBean's <code>setNestedProperty()</code> method - * use a <code>Resolver</code> to process a <i>property name</i> - * expression and resolve <i>nested</i>, <i>indexed</i> and <i>mapped</i> + * use a <code>Resolver</code> to process a <em>property name</em> + * expression and resolve <em>nested</em>, <em>indexed</em> and <em>mapped</em> * property names. The following code provides an example usage * demonstrating all the methods: * diff --git a/src/main/java/org/apache/commons/beanutils/package-info.java b/src/main/java/org/apache/commons/beanutils/package-info.java index 3cb9d34c..edb43c30 100644 --- a/src/main/java/org/apache/commons/beanutils/package-info.java +++ b/src/main/java/org/apache/commons/beanutils/package-info.java @@ -47,7 +47,7 @@ * <li>3.3 <a href="#dynamic.resultSet">ResultSetDynaClass (Wraps ResultSet in DynaBeans)</a></li> * <li>3.4 <a href="#dynamic.rowSet">RowSetDynaClass (Disconnected ResultSet as DynaBeans)</a></li> * <li>3.5 <a href="#dynamic.wrap">WrapDynaBean and WrapDynaClass</a></li> - * <li>3.6 <a href="#dynamic.lazy"><i>Lazy</i> DynaBeans</a></li> + * <li>3.6 <a href="#dynamic.lazy"><em>Lazy</em> DynaBeans</a></li> * </ul> * </li> * <li>4. <a href="#conversion">Data Type Conversions</a> @@ -650,15 +650,15 @@ * created internally, you never need to deal with them.</p> * * <a name="dynamic.lazy"></a> - * <h2>3.6 <i>Lazy</i> DynaBeans</h2> + * <h2>3.6 <em>Lazy</em> DynaBeans</h2> * * <ul> - * <li>1. <a href="#LazyDynaBean">LazyDynaBean</a> - A <i>Lazy</i> + * <li>1. <a href="#LazyDynaBean">LazyDynaBean</a> - A <em>Lazy</em> * {@link org.apache.commons.beanutils.DynaBean}</li> - * <li>2. <a href="#LazyDynaMap">LazyDynaMap</a> - A <i>light weight</i> + * <li>2. <a href="#LazyDynaMap">LazyDynaMap</a> - A <em>light weight</em> * {@link org.apache.commons.beanutils.DynaBean} facade to a Map - * with <i>lazy</i> map/list processing</li> - * <li>3. <a href="#LazyDynaList">LazyDynaList</a> - A <i>lazy list</i> + * with <em>lazy</em> map/list processing</li> + * <li>3. <a href="#LazyDynaList">LazyDynaList</a> - A <em>lazy list</em> * for {@link org.apache.commons.beanutils.DynaBean DynaBean's}, * <code>java.util.Map</code>'s or POJO beans.</li> * <li>4. <a href="#LazyDynaClass">LazyDynaClass</a> - A @@ -666,40 +666,40 @@ * </ul> * * <p>You bought into the DynaBeans because it saves coding all those POJO JavaBeans but - * you're here because <i>lazy</i> caught your eye and wondered whats that about? - * What makes these flavors of DynaBean <i>lazy</i> are the following features:</p> + * you're here because <em>lazy</em> caught your eye and wondered whats that about? + * What makes these flavors of DynaBean <em>lazy</em> are the following features:</p> * <ul> - * <li><strong><i>Lazy</i> property addition</strong> - lazy beans use a + * <li><strong><em>Lazy</em> property addition</strong> - lazy beans use a * {@link org.apache.commons.beanutils.DynaClass} which implements * the {@link org.apache.commons.beanutils.MutableDynaClass} * interface. This provides the ability to add and remove a DynaClass's - * properties. <i>Lazy</i> beans use this feature to automatically add + * properties. <em>Lazy</em> beans use this feature to automatically add * a property which doesn't exist to the DynaClass when * the <code>set(name, value)</code> method is called.</li> - * <li><strong><i>Lazy</i> List/Array growth</strong> - If an <i>indexed</i> property is not large + * <li><strong><em>Lazy</em> List/Array growth</strong> - If an <em>indexed</em> property is not large * enough to accomodate the <code>index</code> being set then the <code>List</code> or - * <code>Array</code> is automatically <i>grown</i> so that it is.</li> - * <li><strong><i>Lazy</i> List/Array instantiation</strong> - if an <i>indexed</i> + * <code>Array</code> is automatically <em>grown</em> so that it is.</li> + * <li><strong><em>Lazy</em> List/Array instantiation</strong> - if an <em>indexed</em> * property doesn't exist then calling the {@link org.apache.commons.beanutils.DynaBean DynaBean's} - * <i>indexed</i> property getter/setter methods (i.e. <code>get(name, index)</code> or + * <em>indexed</em> property getter/setter methods (i.e. <code>get(name, index)</code> or * <code>set(name, index, value)</code>) results in either a new <code>List</code> * or <code>Array</code> being instantiated. If the indexed property has not been * defined in the DynaClass then it is automatically added and a default <code>List</code> * implementation instantiated.</li> - * <li><strong><i>Lazy</i> Map instantiation</strong> - if a <i>mapped</i> + * <li><strong><em>Lazy</em> Map instantiation</strong> - if a <em>mapped</em> * property doesn't exist then calling the {@link org.apache.commons.beanutils.DynaBean DynaBean's} - * <i>mapped</i> property getter/setter methods (i.e. <code>get(name, key)</code> or + * <em>mapped</em> property getter/setter methods (i.e. <code>get(name, key)</code> or * <code>set(name, key, value)</code>) results in a new <code>Map</code> * being instantiated. If the mapped property has not been defined in the DynaClass * then it is automatically added and a default <code>Map</code> implementation * instantiated.</li> - * <li><strong><i>Lazy</i> Bean instantiation</strong> - if a property is defined in + * <li><strong><em>Lazy</em> Bean instantiation</strong> - if a property is defined in * the <code>DynaClass</code> as a <code>DynaBean</code> or regular bean and * doesn't exist in the <code>DynaBean</code> then <code>LazyDynaBean</code> wiill * try to instantiate the bean using a default empty constructor.</li> * </ul> * - * <p><strong>1. {@link org.apache.commons.beanutils.LazyDynaBean}</strong> is the standard <i>lazy</i> bean + * <p><strong>1. {@link org.apache.commons.beanutils.LazyDynaBean}</strong> is the standard <em>lazy</em> bean * implementation. By default it is associated with a {@link org.apache.commons.beanutils.LazyDynaClass} * which implements the {@link org.apache.commons.beanutils.MutableDynaClass} interface - however * it can be used with any <code>MutableDynaClass</code> implementation. The question is <i>how do @@ -718,14 +718,14 @@ * dynaBean.set("address", 2, addressLine3); // indexed * </pre> * - * <p><strong>2. {@link org.apache.commons.beanutils.LazyDynaMap}</strong> is a <i>light weight</i> - * <code>DynaBean</code> facade to a <code>Map</code> with all the usual <i>lazy</i> features. Its - * <i>light weight</i> because it doesn't have an associated <code>DynaClass</code> containing all the properties. + * <p><strong>2. {@link org.apache.commons.beanutils.LazyDynaMap}</strong> is a <em>light weight</em> + * <code>DynaBean</code> facade to a <code>Map</code> with all the usual <em>lazy</em> features. Its + * <em>light weight</em> because it doesn't have an associated <code>DynaClass</code> containing all the properties. * In fact it actually implements the <code>DynaClass</code> interface itself (and <code>MutableDynaClass</code>) - * and derives all the <i>DynaClass</i> information from the actual contents of the <code>Map</code>. A + * and derives all the <em>DynaClass</em> information from the actual contents of the <code>Map</code>. A * <code>LazyDynaMap</code> can be created around an existing <code>Map</code> or can instantiate its own * <code>Map</code>. After any <code>DynaBean</code> processing has finished the <code>Map</code> can be retrieved - * and the DynaBean <i>facade</i> discarded.</p> + * and the DynaBean <em>facade</em> discarded.</p> * * <p>If you need a new <code>Map</code> then to use....</p> * @@ -738,7 +738,7 @@ * * Map myMap = dynaBean.getMap() // retrieve the Map * </pre> - * <p><i>or</i> to use with an existing <code>Map</code> ....</p> + * <p><em>or</em> to use with an existing <code>Map</code> ....</p> * * <pre> * Map myMap = .... // exisitng Map @@ -747,7 +747,7 @@ * </pre> * * <p><strong>3. {@link org.apache.commons.beanutils.LazyDynaList}</strong> - * is <i>lazy list</i> for {@link org.apache.commons.beanutils.DynaBean DynaBeans} + * is <em>lazy list</em> for {@link org.apache.commons.beanutils.DynaBean DynaBeans} * <code>java.util.Map</code>'s or POJO beans. See the <a href="LazyDynaList.html">Javadoc</a> * for more details and example usage.</p> * @@ -760,10 +760,10 @@ * anything to do with the <code>DynaClass</code>. However sometimes there * is a requirement to set up the <code>DynaClass</code> first - perhaps to * define the type of array for an indexed property, or if using the DynaBean - * in <i>restricted</i> mode (see note below) is required. Doing so is + * in <em>restricted</em> mode (see note below) is required. Doing so is * straight forward...</p> * - * <p><i>Either</i> create a <code>LazyDynaClass</code> first... + * <p><em>Either</em> create a <code>LazyDynaClass</code> first... * * <pre> * MutableDynaClass dynaClass = new LazyDynaClass(); // create DynaClass @@ -775,7 +775,7 @@ * DynaBean dynaBean = new LazyDynaBean(dynaClass); // Create DynaBean with associated DynaClass * </pre> * - * <p><i>or</i> create a <code>LazyDynaBean</code> and get the <code>DynaClass</code>... + * <p><em>or</em> create a <code>LazyDynaBean</code> and get the <code>DynaClass</code>... * * <pre> * DynaBean dynaBean = new LazyDynaBean(); // Create LazyDynaBean @@ -788,9 +788,9 @@ * </pre> * * <p><strong>NOTE:</strong> One feature of {@link org.apache.commons.beanutils.MutableDynaClass} is that it - * has a <i>Restricted</i> property. When the DynaClass is <i>restricted</i> no properties can be added + * has a <em>Restricted</em> property. When the DynaClass is <em>restricted</em> no properties can be added * or removed from the <code>DynaClass</code>. Neither the <code>LazyDynaBean</code> or <code>LazyDynaMap</code> - * will add properties automatically if the <code>DynaClass</code> is <i>restricted</i>.</p> + * will add properties automatically if the <code>DynaClass</code> is <em>restricted</em>.</p> * * * <a name="conversion"></a> diff --git a/src/test/java/org/apache/commons/beanutils/bugs/other/Jira18BeanFactory.java b/src/test/java/org/apache/commons/beanutils/bugs/other/Jira18BeanFactory.java index b3852563..4d7d0c99 100644 --- a/src/test/java/org/apache/commons/beanutils/bugs/other/Jira18BeanFactory.java +++ b/src/test/java/org/apache/commons/beanutils/bugs/other/Jira18BeanFactory.java @@ -22,7 +22,7 @@ import java.util.Map; import org.apache.commons.beanutils.bugs.Jira18TestCase; /** - * Factory which creates <i>package</i> scope beans with + * Factory which creates <em>package</em> scope beans with * public methods for {@link Jira18TestCase}. * */ diff --git a/src/test/java/org/apache/commons/beanutils/converters/BooleanArrayConverterTestCase.java b/src/test/java/org/apache/commons/beanutils/converters/BooleanArrayConverterTestCase.java index 665bfe25..8679e633 100644 --- a/src/test/java/org/apache/commons/beanutils/converters/BooleanArrayConverterTestCase.java +++ b/src/test/java/org/apache/commons/beanutils/converters/BooleanArrayConverterTestCase.java @@ -233,7 +233,7 @@ public class BooleanArrayConverterTestCase extends TestCase { * has a (per-element) default, then that element (and just that element) * is assigned the default value. * <p> - * With the standard BooleanArrayConverter, if <i>any</i> of the elements + * With the standard BooleanArrayConverter, if <em>any</em> of the elements * in the array are bad, then the array-wide default value is returned. * However by specifying a custom BooleanConverter which has a per-element * default, the unrecognized elements get that per-element default but the diff --git a/src/test/java/org/apache/commons/beanutils/converters/ClassReloader.java b/src/test/java/org/apache/commons/beanutils/converters/ClassReloader.java index 37e9cc2d..c1c91d33 100644 --- a/src/test/java/org/apache/commons/beanutils/converters/ClassReloader.java +++ b/src/test/java/org/apache/commons/beanutils/converters/ClassReloader.java @@ -37,9 +37,9 @@ import java.io.InputStream; * a major pain.</p> * * <p>So this class takes a sneaky alternative approach: it can grab any class - * already loaded by a parent classloader and <i>reload</i> that class via this + * already loaded by a parent classloader and <em>reload</em> that class via this * classloader. The effect is exactly as if a class (or jar file) had been - * present in the classpath for a container's "shared" classloader <i>and</i> + * present in the classpath for a container's "shared" classloader <em>and</em> * been present in the component-specific classpath too, without any messing * about with the way unit test code is compiled or executed. * diff --git a/src/test/java/org/apache/commons/beanutils/converters/MemoryTestCase.java b/src/test/java/org/apache/commons/beanutils/converters/MemoryTestCase.java index 1be8fec7..e7df4551 100644 --- a/src/test/java/org/apache/commons/beanutils/converters/MemoryTestCase.java +++ b/src/test/java/org/apache/commons/beanutils/converters/MemoryTestCase.java @@ -244,7 +244,7 @@ public class MemoryTestCase { * Attempt to force garbage collection of the specified target. * * <p>Unfortunately there is no way to force a JVM to perform - * garbage collection; all we can do is <i>hint</i> to it that + * garbage collection; all we can do is <em>hint</em> to it that * garbage-collection would be a good idea, and to consume * memory in order to trigger it.</p> *