Skip to content

Commit 8da4e90

Browse files
committed
Javadoc: Use semantic tag <strong> instead of style tag <b>
1 parent 098b14f commit 8da4e90

37 files changed

+121
-121
lines changed

src/main/java/org/apache/commons/beanutils/BaseDynaBeanMapDecorator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ public boolean isReadOnly() {
263263
* <p>Returns the Set of the property
264264
* names in the decorated {@link DynaBean}.</p>
265265
*
266-
* <p><b>N.B.</b>For {@link DynaBean}s whose associated {@link DynaClass}
266+
* <p><strong>N.B.</strong>For {@link DynaBean}s whose associated {@link DynaClass}
267267
* is a {@link MutableDynaClass} a new Set is created every
268268
* time, otherwise the Set is created only once and cached.</p>
269269
*

src/main/java/org/apache/commons/beanutils/BasicDynaBean.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ protected DynaProperty getDynaProperty(final String name) {
265265
* </p>
266266
* This, for example, could be used in JSTL in the following way to access
267267
* a DynaBean's <code>fooProperty</code>:
268-
* <ul><li><code>${myDynaBean.<b>map</b>.fooProperty}</code></li></ul>
268+
* <ul><li><code>${myDynaBean.<strong>map</strong>.fooProperty}</code></li></ul>
269269
*
270270
* @return a Map representation of this DynaBean
271271
* @since 1.8.0

src/main/java/org/apache/commons/beanutils/BeanIntrospectionData.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ public BeanIntrospectionData(final PropertyDescriptor[] descs) {
9292

9393
/**
9494
* Returns the {@code PropertyDescriptor} for the property with the specified name. If
95-
* this property is unknown, result is <b>null</b>.
95+
* this property is unknown, result is <strong>null</strong>.
9696
*
9797
* @param name the name of the property in question
98-
* @return the {@code PropertyDescriptor} for this property or <b>null</b>
98+
* @return the {@code PropertyDescriptor} for this property or <strong>null</strong>
9999
*/
100100
public PropertyDescriptor getDescriptor(final String name) {
101101
for (final PropertyDescriptor pd : getDescriptors()) {
@@ -126,7 +126,7 @@ public PropertyDescriptor[] getDescriptors() {
126126
*
127127
* @param beanCls the class of the affected bean
128128
* @param desc the {@code PropertyDescriptor} of the desired property
129-
* @return the write method for this property or <b>null</b> if there is none
129+
* @return the write method for this property or <strong>null</strong> if there is none
130130
*/
131131
public Method getWriteMethod(final Class<?> beanCls, final PropertyDescriptor desc) {
132132
Method method = desc.getWriteMethod();

src/main/java/org/apache/commons/beanutils/BeanMap.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ public Iterator<String> keyIterator() {
667667
/**
668668
* Get the keys for this BeanMap.
669669
* <p>
670-
* Write-only properties are <b>not</b> included in the returned set of
670+
* Write-only properties are <strong>not</strong> included in the returned set of
671671
* property names, although it is possible to set their value and to get
672672
* their type.
673673
*

src/main/java/org/apache/commons/beanutils/BeanUtilsBean.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,8 @@ protected Object convert(final Object value, final Class<?> type) {
212212

213213
/**
214214
* Performs a type conversion of a property value before it is copied to a target
215-
* bean. This method delegates to {@link #convert(Object, Class)}, but <b>null</b>
216-
* values are not converted. This causes <b>null</b> values to be copied verbatim.
215+
* bean. This method delegates to {@link #convert(Object, Class)}, but <strong>null</strong>
216+
* values are not converted. This causes <strong>null</strong> values to be copied verbatim.
217217
*
218218
* @param value the value to be converted and copied
219219
* @param type the target type of the conversion

src/main/java/org/apache/commons/beanutils/DynaBeanMapDecorator.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
*
3737
* <p>This, for example, could be used in JSTL in the following way to access
3838
* a DynaBean's <code>fooProperty</code>:
39-
* <ul><li><code>${myDynaBean.<b>map</b>.fooProperty}</code></li></ul>
39+
* <ul><li><code>${myDynaBean.<strong>map</strong>.fooProperty}</code></li></ul>
4040
* </p>
4141
*
4242
* <h3>Usage</h3>
@@ -46,16 +46,16 @@
4646
*
4747
* <ul><li><code>Map fooMap = new DynaBeanMapDecorator(fooDynaBean);</code></li></ul>
4848
*
49-
* <p>The above example creates a <b><em>read only</em></b> <code>Map</code>.
49+
* <p>The above example creates a <strong><em>read only</em></strong> <code>Map</code>.
5050
* To create a <code>Map</code> which can be modified, construct a
51-
* <code>DynaBeanMapDecorator</code> with the <b><em>read only</em></b>
51+
* <code>DynaBeanMapDecorator</code> with the <strong><em>read only</em></strong>
5252
* attribute set to <code>false</code>:</p>
5353
*
5454
* <ul><li><code>Map fooMap = new DynaBeanMapDecorator(fooDynaBean, false);</code></li></ul>
5555
*
5656
* <h3>Limitations</h3>
5757
* <p>In this implementation the <code>entrySet()</code>, <code>keySet()</code>
58-
* and <code>values()</code> methods create an <b><em>unmodifiable</em></b>
58+
* and <code>values()</code> methods create an <strong><em>unmodifiable</em></strong>
5959
* <code>Set</code> and it does not support the Map's <code>clear()</code>
6060
* and <code>remove()</code> operations.</p>
6161
* <p>For reasons of backwards compatibility, the generic types of this

src/main/java/org/apache/commons/beanutils/DynaBeanPropertyMapDecorator.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
*
3636
* <p>This, for example, could be used in JSTL in the following way to access
3737
* a DynaBean's <code>fooProperty</code>:
38-
* <ul><li><code>${myDynaBean.<b>map</b>.fooProperty}</code></li></ul>
38+
* <ul><li><code>${myDynaBean.<strong>map</strong>.fooProperty}</code></li></ul>
3939
* </p>
4040
*
4141
* <h3>Usage</h3>
@@ -45,17 +45,17 @@
4545
*
4646
* <ul><li><code>Map&lt;String, Object&gt; fooMap = new DynaBeanPropertyMapDecorator(fooDynaBean);</code></li></ul>
4747
*
48-
* <p>The above example creates a <b><em>read only</em></b> <code>Map</code>.
48+
* <p>The above example creates a <strong><em>read only</em></strong> <code>Map</code>.
4949
* To create a <code>Map</code> which can be modified, construct a
50-
* <code>DynaBeanPropertyMapDecorator</code> with the <b><em>read only</em></b>
50+
* <code>DynaBeanPropertyMapDecorator</code> with the <strong><em>read only</em></strong>
5151
* attribute set to <code>false</code>:</p>
5252
*
5353
* <ul><li><code>Map&lt;String, Object&gt; fooMap =
5454
* new DynaBeanPropertyMapDecorator(fooDynaBean, false);</code></li></ul>
5555
*
5656
* <h3>Limitations</h3>
5757
* <p>In this implementation the <code>entrySet()</code>, <code>keySet()</code>
58-
* and <code>values()</code> methods create an <b><em>unmodifiable</em></b>
58+
* and <code>values()</code> methods create an <strong><em>unmodifiable</em></strong>
5959
* <code>Set</code> and it does not support the Map's <code>clear()</code>
6060
* and <code>remove()</code> operations.</p>
6161
*

src/main/java/org/apache/commons/beanutils/FluentPropertyBeanIntrospector.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* <p>
3434
* A <em>fluent API</em> allows setting multiple properties using a single
3535
* statement by supporting so-called <em>method chaining</em>: Methods for
36-
* setting a property value do not return <b>void</b>, but an object which can
36+
* setting a property value do not return <strong>void</strong>, but an object which can
3737
* be called for setting another property. An example of such a fluent API could
3838
* look as follows:
3939
*
@@ -52,7 +52,7 @@
5252
* </pre>
5353
*
5454
* Per default, <code>PropertyUtils</code> does not detect methods like this
55-
* because, having a non-<b>void</b> return type, they violate the Java Beans
55+
* because, having a non-<strong>void</strong> return type, they violate the Java Beans
5656
* specification.
5757
* </p>
5858
* <p>
@@ -68,7 +68,7 @@
6868
* adding this instance as custom {@code BeanIntrospector} after the
6969
* <code>DefaultBeanIntrospector</code> object. Then default introspection finds
7070
* read-only properties because it does not detect the write methods with a
71-
* non-<b>void</b> return type. {@code FluentPropertyBeanIntrospector}
71+
* non-<strong>void</strong> return type. {@code FluentPropertyBeanIntrospector}
7272
* completes the descriptors for these properties by setting the correct write
7373
* method.
7474
* </p>
@@ -107,8 +107,8 @@ public FluentPropertyBeanIntrospector() {
107107
* initializes it with the prefix for write methods used by the classes to
108108
* be inspected.
109109
*
110-
* @param writePrefix the prefix for write methods (must not be <b>null</b>)
111-
* @throws IllegalArgumentException if the prefix is <b>null</b>
110+
* @param writePrefix the prefix for write methods (must not be <strong>null</strong>)
111+
* @throws IllegalArgumentException if the prefix is <strong>null</strong>
112112
*/
113113
public FluentPropertyBeanIntrospector(final String writePrefix) {
114114
if (writePrefix == null) {

src/main/java/org/apache/commons/beanutils/IntrospectionContext.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ public interface IntrospectionContext {
5656

5757
/**
5858
* Returns the descriptor for the property with the given name or
59-
* <b>null</b> if this property is unknown.
59+
* <strong>null</strong> if this property is unknown.
6060
*
6161
* @param name the name of the property in question
62-
* @return the descriptor for this property or <b>null</b> if this property
62+
* @return the descriptor for this property or <strong>null</strong> if this property
6363
* is unknown
6464
*/
6565
PropertyDescriptor getPropertyDescriptor(String name);
@@ -77,8 +77,8 @@ public interface IntrospectionContext {
7777
* to prevent that an already existing property descriptor is overridden.
7878
*
7979
* @param name the name of the property in question
80-
* @return <b>true</b> if a descriptor for this property has already been
81-
* added, <b>false</b> otherwise
80+
* @return <strong>true</strong> if a descriptor for this property has already been
81+
* added, <strong>false</strong> otherwise
8282
*/
8383
boolean hasProperty(String name);
8484

src/main/java/org/apache/commons/beanutils/LazyDynaBean.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,19 @@
4545
* <code>set(name, key, value)</code></li>
4646
* </ul>
4747
*
48-
* <p><b><u>Getting Property Values</u></b></p>
48+
* <p><strong><u>Getting Property Values</u></strong></p>
4949
* <p>Calling any of the <code>get()</code> methods, for a property which
5050
* doesn't exist, returns <code>null</code> in this implementation.</p>
5151
*
52-
* <p><b><u>Setting Simple Properties</u></b></p>
52+
* <p><strong><u>Setting Simple Properties</u></strong></p>
5353
* <p>The <code>LazyDynaBean</code> will automatically add a property to the <code>DynaClass</code>
5454
* if it doesn't exist when the <code>set(name, value)</code> method is called.</p>
5555
*
5656
* <code>DynaBean myBean = new LazyDynaBean();</code></br>
5757
* <code>myBean.set("myProperty", "myValue");</code></br>
5858
*
59-
* <p><b><u>Setting Indexed Properties</u></b></p>
60-
* <p>If the property <b>doesn't</b> exist, the <code>LazyDynaBean</code> will automatically add
59+
* <p><strong><u>Setting Indexed Properties</u></strong></p>
60+
* <p>If the property <strong>doesn't</strong> exist, the <code>LazyDynaBean</code> will automatically add
6161
* a property with an <code>ArrayList</code> type to the <code>DynaClass</code> when
6262
* the <code>set(name, index, value)</code> method is called.
6363
* It will also instantiate a new <code>ArrayList</code> and automatically <em>grow</em>
@@ -70,7 +70,7 @@
7070
* <code>myBean.set("myIndexedProperty", 0, "myValue1");</code></br>
7171
* <code>myBean.set("myIndexedProperty", 1, "myValue2");</code></br>
7272
*
73-
* <p>If the indexed property <b>does</b> exist in the <code>DynaClass</code> but is set to
73+
* <p>If the indexed property <strong>does</strong> exist in the <code>DynaClass</code> but is set to
7474
* <code>null</code> in the <code>LazyDynaBean</code>, then it will instantiate a
7575
* new <code>List</code> or <code>Array</code> as specified by the property's type
7676
* in the <code>DynaClass</code> and automatically <em>grow</em> the <code>List</code>
@@ -82,8 +82,8 @@
8282
* <code>myBean.set("myIndexedProperty", 0, new Integer(10));</code></br>
8383
* <code>myBean.set("myIndexedProperty", 1, new Integer(20));</code></br>
8484
*
85-
* <p><b><u>Setting Mapped Properties</u></b></p>
86-
* <p>If the property <b>doesn't</b> exist, the <code>LazyDynaBean</code> will automatically add
85+
* <p><strong><u>Setting Mapped Properties</u></strong></p>
86+
* <p>If the property <strong>doesn't</strong> exist, the <code>LazyDynaBean</code> will automatically add
8787
* a property with a <code>HashMap</code> type to the <code>DynaClass</code> and
8888
* instantiate a new <code>HashMap</code> in the DynaBean when the
8989
* <code>set(name, key, value)</code> method is called. <code>HashMap</code> is the default
@@ -93,7 +93,7 @@
9393
* <code>DynaBean myBean = new LazyDynaBean();</code></br>
9494
* <code>myBean.set("myMappedProperty", "myKey", "myValue");</code></br>
9595
*
96-
* <p>If the mapped property <b>does</b> exist in the <code>DynaClass</code> but is set to
96+
* <p>If the mapped property <strong>does</strong> exist in the <code>DynaClass</code> but is set to
9797
* <code>null</code> in the <code>LazyDynaBean</code>, then it will instantiate a
9898
* new <code>Map</code> as specified by the property's type in the <code>DynaClass</code>.</p>
9999
*
@@ -102,7 +102,7 @@
102102
* <code>myClass.add("myMappedProperty", TreeMap.class);</code></br>
103103
* <code>myBean.set("myMappedProperty", "myKey", "myValue");</code></br>
104104
*
105-
* <p><b><u><em>Restricted</em> DynaClass</u></b></p>
105+
* <p><strong><u><em>Restricted</em> DynaClass</u></strong></p>
106106
* <p><code>MutableDynaClass</code> have a facility to <em>restrict</em> the <code>DynaClass</code>
107107
* so that its properties cannot be modified. If the <code>MutableDynaClass</code> is
108108
* restricted then calling any of the <code>set()</code> methods for a property which
@@ -606,7 +606,7 @@ public DynaClass getDynaClass() {
606606
* </p>
607607
* This, for example, could be used in JSTL in the following way to access
608608
* a DynaBean's <code>fooProperty</code>:
609-
* <ul><li><code>${myDynaBean.<b>map</b>.fooProperty}</code></li></ul>
609+
* <ul><li><code>${myDynaBean.<strong>map</strong>.fooProperty}</code></li></ul>
610610
*
611611
* @return a Map representation of this DynaBean
612612
*/

0 commit comments

Comments
 (0)