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:37:39 UTC
(commons-beanutils) branch 1.X updated: Javadoc: English, not Latin
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 2dd3a548 Javadoc: English, not Latin
2dd3a548 is described below
commit 2dd3a54886fc27e8cd7219ab7ec1c2c67afd283e
Author: Gary D. Gregory <ga...@gmail.com>
AuthorDate: Tue Dec 31 08:37:30 2024 -0500
Javadoc: English, not Latin
---
.../java/org/apache/commons/beanutils/BeanUtilsBean2.java | 2 +-
src/main/java/org/apache/commons/beanutils/LazyDynaList.java | 12 ++++++------
.../java/org/apache/commons/beanutils/PropertyUtilsBean.java | 4 ++--
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/main/java/org/apache/commons/beanutils/BeanUtilsBean2.java b/src/main/java/org/apache/commons/beanutils/BeanUtilsBean2.java
index c39b4570..85d1b455 100644
--- a/src/main/java/org/apache/commons/beanutils/BeanUtilsBean2.java
+++ b/src/main/java/org/apache/commons/beanutils/BeanUtilsBean2.java
@@ -31,7 +31,7 @@ package org.apache.commons.beanutils;
* BeanUtils 1.7.0 delegated all conversion to String to the converter
* registered for the <code>String.class</code>. 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.
+ * 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>
diff --git a/src/main/java/org/apache/commons/beanutils/LazyDynaList.java b/src/main/java/org/apache/commons/beanutils/LazyDynaList.java
index 2fac270b..1465090a 100644
--- a/src/main/java/org/apache/commons/beanutils/LazyDynaList.java
+++ b/src/main/java/org/apache/commons/beanutils/LazyDynaList.java
@@ -97,13 +97,13 @@ import java.util.Map;
* 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);
* </code></pre>
*
@@ -113,15 +113,15 @@ import java.util.Map;
* 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);
* </code></pre>
diff --git a/src/main/java/org/apache/commons/beanutils/PropertyUtilsBean.java b/src/main/java/org/apache/commons/beanutils/PropertyUtilsBean.java
index 959025cd..08faaf5a 100644
--- a/src/main/java/org/apache/commons/beanutils/PropertyUtilsBean.java
+++ b/src/main/java/org/apache/commons/beanutils/PropertyUtilsBean.java
@@ -1049,11 +1049,11 @@ public class PropertyUtilsBean {
* be returned. If the last (or only) element has no property with the
* specified name, <code>null</code> is returned.
* <p>
- * If the property is an indexed property (e.g. <code>String[]</code>),
+ * If the property is an indexed property (for example <code>String[]</code>),
* 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
+ * instead return the collection type (for example java.util.List) from the
* getter mtethod.
*
* @param bean Bean for which a property descriptor is requested