You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/12/31 13:42:08 UTC
(commons-beanutils) branch master updated: Javadoc: English, not Latin
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 4e0d3298 Javadoc: English, not Latin
4e0d3298 is described below
commit 4e0d32982aae6596b00bf9c467c5db51a26196b9
Author: Gary D. Gregory <ga...@gmail.com>
AuthorDate: Tue Dec 31 08:42:00 2024 -0500
Javadoc: English, not Latin
---
.../org/apache/commons/beanutils2/BeanUtilsBean.java | 4 ++--
.../org/apache/commons/beanutils2/LazyDynaList.java | 12 ++++++------
.../apache/commons/beanutils2/PropertyUtilsBean.java | 17 ++++++++++-------
3 files changed, 18 insertions(+), 15 deletions(-)
diff --git a/src/main/java/org/apache/commons/beanutils2/BeanUtilsBean.java b/src/main/java/org/apache/commons/beanutils2/BeanUtilsBean.java
index af55b537..6dbc97e9 100644
--- a/src/main/java/org/apache/commons/beanutils2/BeanUtilsBean.java
+++ b/src/main/java/org/apache/commons/beanutils2/BeanUtilsBean.java
@@ -48,8 +48,8 @@ import org.apache.commons.logging.LogFactory;
*
* <p>
* BeanUtils 1.7.0 delegated all conversion to String to the converter registered for the {@code String.class}. One of the improvements in BeanUtils 1.8.0 was
- * to upgrade the {@link Converter} implementations so that they could handle conversion to String for their type (e.g. IntegerConverter now handles conversion
- * from an Integer to a String as well as String to Integer).
+ * to upgrade the {@link Converter} implementations so that they could handle conversion to String for their type (for example IntegerConverter now handles
+ * conversion from an Integer to a String as well as String to Integer).
* </p>
*
* <p>
diff --git a/src/main/java/org/apache/commons/beanutils2/LazyDynaList.java b/src/main/java/org/apache/commons/beanutils2/LazyDynaList.java
index c88a5327..94215977 100644
--- a/src/main/java/org/apache/commons/beanutils2/LazyDynaList.java
+++ b/src/main/java/org/apache/commons/beanutils2/LazyDynaList.java
@@ -100,13 +100,13 @@ import java.util.Objects;
* uses the Class to automatically populate elements:</p>
*
* <pre>{@code
- * // e.g. For Maps
+ * // for example For Maps
* List lazyList = new LazyDynaList(TreeMap.class);
*
- * // e.g. For POJO Beans
+ * // for example For POJO Beans
* List lazyList = new LazyDynaList(MyPojo.class);
*
- * // e.g. For DynaBeans
+ * // for example For DynaBeans
* List lazyList = new LazyDynaList(MyDynaBean.class);
* }</pre>
*
@@ -116,15 +116,15 @@ import java.util.Objects;
* the DynaClass to automatically populate elements:</p>
*
* <pre>{@code
- * // e.g. For Maps
+ * // for example For Maps
* DynaClass dynaClass = new LazyDynaMap(new HashMap());
* List lazyList = new LazyDynaList(dynaClass);
*
- * // e.g. For POJO Beans
+ * // for example For POJO Beans
* DynaClass dynaClass = (new WrapDynaBean(myPojo)).getDynaClass();
* List lazyList = new LazyDynaList(dynaClass);
*
- * // e.g. For DynaBeans
+ * // for example For DynaBeans
* DynaClass dynaClass = new BasicDynaClass(properties);
* List lazyList = new LazyDynaList(dynaClass);
* }</pre>
diff --git a/src/main/java/org/apache/commons/beanutils2/PropertyUtilsBean.java b/src/main/java/org/apache/commons/beanutils2/PropertyUtilsBean.java
index 54767948..833d74ca 100644
--- a/src/main/java/org/apache/commons/beanutils2/PropertyUtilsBean.java
+++ b/src/main/java/org/apache/commons/beanutils2/PropertyUtilsBean.java
@@ -803,9 +803,10 @@ public class PropertyUtilsBean {
* method follows the same name resolution rules used by {@code getPropertyDescriptor()}, so if the last element of a name reference is indexed, the type of
* the property itself will be returned. If the last (or only) element has no property with the specified name, {@code null} is returned.
* <p>
- * If the property is an indexed property (e.g. {@code String[]}), this method will return the type of the items within that array. Note that from Java 8
- * and newer, this method do not support such index types from items within an Collection, and will instead return the collection type (e.g. java.util.List)
- * from the getter method.
+ * If the property is an indexed property (for example {@code String[]}), this method will return the type of the items within that array. Note that from
+ * Java 8 and newer, this method do not support such index types from items within an Collection, and will instead return the collection type (for example
+ * java.util.List) from the getter method.
+ * </p>
*
* @param bean Bean for which a property descriptor is requested
* @param name Possibly indexed and/or nested name of the property for which a property descriptor is requested
@@ -873,8 +874,9 @@ public class PropertyUtilsBean {
*
* <p>
* This fairly low-level method shouldn't be needed for most usecases. However, if you do have to implement something extra, you can improve consistency
- * with the standard code (e.g. that of {@link #getProperty getProperty()}) by calling this method instead of using {@code descriptor.getReadMethod()}
- * directly.
+ * with the standard code (for example that of {@link #getProperty getProperty()}) by calling this method instead of using
+ * {@code descriptor.getReadMethod()} directly.
+ * </p>
*
* @param clazz The class of the read method will be invoked on
* @param descriptor Property descriptor to return a getter for
@@ -976,8 +978,9 @@ public class PropertyUtilsBean {
*
* <p>
* This fairly low-level method shouldn't be needed for most usecases. However, if you do have to implement something extra, you can improve consistency
- * with the standard code (e.g. that of {@link #setProperty setProperty()}) by calling this method instead of using {@code descriptor.getWriteMethod()}
- * directly.
+ * with the standard code (for example that of {@link #setProperty setProperty()}) by calling this method instead of using
+ * {@code descriptor.getWriteMethod()} directly.
+ * </p>
*
* @param clazz The class of the read method will be invoked on
* @param descriptor Property descriptor to return a setter for