This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-beanutils.git
The following commit(s) were added to refs/heads/master by this push:
new e7d3adb0 Fix malformed Javadoc comments
e7d3adb0 is described below
commit e7d3adb072945afda96711dbb41a8ee0185b7216
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Dec 13 08:58:42 2025 -0500
Fix malformed Javadoc comments
---
src/changes/changes.xml | 3 ++-
src/main/java/org/apache/commons/beanutils2/BeanMap.java | 12 ++++++------
.../apache/commons/beanutils2/converters/ArrayConverter.java | 2 +-
3 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 31a5df48..4378310c 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -32,8 +32,9 @@
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix typo in log
event message in
org.apache.commons.beanutils2.MethodUtils.setMethodAccessible(Method).</action>
<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>
<action type="fix" dev="ggregory" due-to="Basil Crow, Piotr P. Karwasz,
Gary Gregory">Simplify FluentPropertyBeanIntrospector#propertyName
(#363).</action>
- <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>
+ <action type="fix" dev="ggregory" due-to="Gary Gregory">Fix malformed
Javadoc comments.</action>
<!-- ADD -->
+ <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>
<action type="add" dev="ggregory" due-to="SethFalco, Melloware, Gary
Gregory">Add Instant converter and improve enum converter #49.</action>
<!-- UPDATE -->
<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>
diff --git a/src/main/java/org/apache/commons/beanutils2/BeanMap.java
b/src/main/java/org/apache/commons/beanutils2/BeanMap.java
index 9576bad3..927573c2 100644
--- a/src/main/java/org/apache/commons/beanutils2/BeanMap.java
+++ b/src/main/java/org/apache/commons/beanutils2/BeanMap.java
@@ -158,12 +158,12 @@ public class BeanMap extends AbstractMap<String, Object>
implements Cloneable {
* Clone this bean map using the following process:
*
* <ul>
- * <li>If there is no underlying bean, return a cloned BeanMap without a
bean.
- * <li>Since there is an underlying bean, try to instantiate a new bean of
the same type using Class.newInstance().
- * <li>If the instantiation fails, throw a CloneNotSupportedException
- * <li>Clone the bean map and set the newly instantiated bean as the
underlying bean for the bean map.
- * <li>Copy each property that is both readable and writable from the
existing object to a cloned bean map.
- * <li>If anything fails along the way, throw a CloneNotSupportedException.
+ * <li>If there is no underlying bean, return a cloned BeanMap without a
bean.</li>
+ * <li>Since there is an underlying bean, try to instantiate a new bean of
the same type using Class.newInstance().</li>
+ * <li>If the instantiation fails, throw a CloneNotSupportedException</li>
+ * <li>Clone the bean map and set the newly instantiated bean as the
underlying bean for the bean map.</li>
+ * <li>Copy each property that is both readable and writable from the
existing object to a cloned bean map.</li>
+ * <li>If anything fails along the way, throw a
CloneNotSupportedException.</li>
* </ul>
*
* @return a cloned instance of this bean map
diff --git
a/src/main/java/org/apache/commons/beanutils2/converters/ArrayConverter.java
b/src/main/java/org/apache/commons/beanutils2/converters/ArrayConverter.java
index c0834f4e..3bb2e53c 100644
--- a/src/main/java/org/apache/commons/beanutils2/converters/ArrayConverter.java
+++ b/src/main/java/org/apache/commons/beanutils2/converters/ArrayConverter.java
@@ -68,7 +68,7 @@ import org.apache.commons.beanutils2.Converter;
* it uses a comma as the delimiter but the following methods can be used to
configure parsing:
* <ul>
* <li>{@code setDelimiter(char)} - allows the character used as the delimiter
to be configured [default is a comma].</li>
- * <li>{@code setAllowedChars(char[])} - adds additional characters (to the
default alphabetic/numeric) to those considered to be valid token characters.
+ * <li>{@code setAllowedChars(char[])} - adds additional characters (to the
default alphabetic/numeric) to those considered to be valid token
characters.</li>
* </ul>
*
* <h2>Multi Dimensional Arrays</h2> It is possible to convert a {@code
String} to multi-dimensional arrays by using {@link ArrayConverter} as the
element