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 b688b424 Fix typos in Javadoc and comments
b688b424 is described below

commit b688b424b7c5f77e8a0447f5fa64720e1e24c716
Author: Gary D. Gregory <garydgreg...@gmail.com>
AuthorDate: Sat Feb 15 09:28:07 2025 -0500

    Fix typos in Javadoc and comments
---
 .../beanutils/locale/LocaleConvertUtilsBean.java   | 23 ++++++++++------------
 1 file changed, 10 insertions(+), 13 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/beanutils/locale/LocaleConvertUtilsBean.java 
b/src/main/java/org/apache/commons/beanutils/locale/LocaleConvertUtilsBean.java
index d5369fa7..ed6dd4d4 100644
--- 
a/src/main/java/org/apache/commons/beanutils/locale/LocaleConvertUtilsBean.java
+++ 
b/src/main/java/org/apache/commons/beanutils/locale/LocaleConvertUtilsBean.java
@@ -314,19 +314,16 @@ public class LocaleConvertUtilsBean {
     }
 
     /**
-        * Convert an array of specified values to an array of objects of the
-        * specified class (if possible) .
-        *
-        * @param values Value to be converted (may be null)
-        * @param clazz Java array or element class to be converted to
-        * @return the converted value
-         * @throws org.apache.commons.beanutils.ConversionException if thrown 
by an
-         * underlying Converter
-        */
-       public Object convert(final String[] values, final Class<?> clazz) {
-
-           return convert(values, clazz, getDefaultLocale(), null);
-       }
+     * Convert an array of specified values to an array of objects of the 
specified class (if possible).
+     *
+     * @param values Value to be converted (may be null)
+     * @param clazz  Java array or element class to be converted to
+     * @return the converted value
+     * @throws org.apache.commons.beanutils.ConversionException if thrown by 
an underlying Converter
+     */
+    public Object convert(final String[] values, final Class<?> clazz) {
+        return convert(values, clazz, getDefaultLocale(), null);
+    }
 
     /**
      * Convert an array of specified values to an array of objects of the

Reply via email to