Skip to content

Commit b688b42

Browse files
committed
Fix typos in Javadoc and comments
1 parent a510466 commit b688b42

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

src/main/java/org/apache/commons/beanutils/locale/LocaleConvertUtilsBean.java

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -314,19 +314,16 @@ public Object convert(final String value, final Class<?> clazz, final String pat
314314
}
315315

316316
/**
317-
* Convert an array of specified values to an array of objects of the
318-
* specified class (if possible) .
319-
*
320-
* @param values Value to be converted (may be null)
321-
* @param clazz Java array or element class to be converted to
322-
* @return the converted value
323-
* @throws org.apache.commons.beanutils.ConversionException if thrown by an
324-
* underlying Converter
325-
*/
326-
public Object convert(final String[] values, final Class<?> clazz) {
327-
328-
return convert(values, clazz, getDefaultLocale(), null);
329-
}
317+
* Convert an array of specified values to an array of objects of the specified class (if possible).
318+
*
319+
* @param values Value to be converted (may be null)
320+
* @param clazz Java array or element class to be converted to
321+
* @return the converted value
322+
* @throws org.apache.commons.beanutils.ConversionException if thrown by an underlying Converter
323+
*/
324+
public Object convert(final String[] values, final Class<?> clazz) {
325+
return convert(values, clazz, getDefaultLocale(), null);
326+
}
330327

331328
/**
332329
* Convert an array of specified values to an array of objects of the

0 commit comments

Comments
 (0)