Skip to content

Commit e7d3adb

Browse files
committed
Fix malformed Javadoc comments
1 parent 57bbefe commit e7d3adb

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

src/changes/changes.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@
3232
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix typo in log event message in org.apache.commons.beanutils2.MethodUtils.setMethodAccessible(Method).</action>
3333
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix typo in exception message throws from org.apache.commons.beanutils2.PropertyUtilsBean.setMappedProperty(Object, String, String, Object).</action>
3434
<action type="fix" dev="ggregory" due-to="Basil Crow, Piotr P. Karwasz, Gary Gregory">Simplify FluentPropertyBeanIntrospector#propertyName (#363).</action>
35-
<action type="add" dev="ggregory" due-to="Gary Gregory">Use varargs for org.apache.commons.beanutils2.MethodUtils.getAccessibleMethod(Class, String, Class...), and remove last argument variants using Class[] and Class.</action>
35+
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix malformed Javadoc comments.</action>
3636
<!-- ADD -->
37+
<action type="add" dev="ggregory" due-to="Gary Gregory">Use varargs for org.apache.commons.beanutils2.MethodUtils.getAccessibleMethod(Class, String, Class...), and remove last argument variants using Class[] and Class.</action>
3738
<action type="add" dev="ggregory" due-to="SethFalco, Melloware, Gary Gregory">Add Instant converter and improve enum converter #49.</action>
3839
<!-- UPDATE -->
3940
<action type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">Bump org.apache.commons:commons-parent from 85 to 93 #378, #387, #394, #395.</action>

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -158,12 +158,12 @@ public void clear() {
158158
* Clone this bean map using the following process:
159159
*
160160
* <ul>
161-
* <li>If there is no underlying bean, return a cloned BeanMap without a bean.
162-
* <li>Since there is an underlying bean, try to instantiate a new bean of the same type using Class.newInstance().
163-
* <li>If the instantiation fails, throw a CloneNotSupportedException
164-
* <li>Clone the bean map and set the newly instantiated bean as the underlying bean for the bean map.
165-
* <li>Copy each property that is both readable and writable from the existing object to a cloned bean map.
166-
* <li>If anything fails along the way, throw a CloneNotSupportedException.
161+
* <li>If there is no underlying bean, return a cloned BeanMap without a bean.</li>
162+
* <li>Since there is an underlying bean, try to instantiate a new bean of the same type using Class.newInstance().</li>
163+
* <li>If the instantiation fails, throw a CloneNotSupportedException</li>
164+
* <li>Clone the bean map and set the newly instantiated bean as the underlying bean for the bean map.</li>
165+
* <li>Copy each property that is both readable and writable from the existing object to a cloned bean map.</li>
166+
* <li>If anything fails along the way, throw a CloneNotSupportedException.</li>
167167
* </ul>
168168
*
169169
* @return a cloned instance of this bean map

src/main/java/org/apache/commons/beanutils2/converters/ArrayConverter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
* it uses a comma as the delimiter but the following methods can be used to configure parsing:
6969
* <ul>
7070
* <li>{@code setDelimiter(char)} - allows the character used as the delimiter to be configured [default is a comma].</li>
71-
* <li>{@code setAllowedChars(char[])} - adds additional characters (to the default alphabetic/numeric) to those considered to be valid token characters.
71+
* <li>{@code setAllowedChars(char[])} - adds additional characters (to the default alphabetic/numeric) to those considered to be valid token characters.</li>
7272
* </ul>
7373
*
7474
* <h2>Multi Dimensional Arrays</h2> It is possible to convert a {@code String} to multi-dimensional arrays by using {@link ArrayConverter} as the element

0 commit comments

Comments
 (0)