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 857ec4a5 Javadoc spelling 857ec4a5 is described below commit 857ec4a50f969e3ac26f268acb0a458e8ae5a50c Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sun Nov 26 15:45:07 2023 -0500 Javadoc spelling --- .../java/org/apache/commons/beanutils2/DynaProperty.java | 14 +++++++------- .../java/org/apache/commons/beanutils2/WrapDynaBean.java | 4 ++-- .../java/org/apache/commons/beanutils2/package-info.java | 2 +- src/test/java/org/apache/commons/beanutils2/BenchBean.java | 2 +- .../apache/commons/beanutils2/MappedPropertyTestBean.java | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/main/java/org/apache/commons/beanutils2/DynaProperty.java b/src/main/java/org/apache/commons/beanutils2/DynaProperty.java index e01c1f08..bc39f789 100644 --- a/src/main/java/org/apache/commons/beanutils2/DynaProperty.java +++ b/src/main/java/org/apache/commons/beanutils2/DynaProperty.java @@ -42,7 +42,7 @@ public class DynaProperty implements Serializable { /* * There are issues with serializing primitive class types on certain JVM versions - * (including java 1.3). + * (including Java 1.3). * This class uses a custom serialization implementation that writes an integer * for these primitive class. * This list of constants are the ones used in serialization. @@ -137,7 +137,7 @@ public class DynaProperty implements Serializable { * that support this feature. * * <p>There are issues with serializing primitive class types on certain JVM versions - * (including java 1.3). + * (including Java 1.3). * Therefore, this field <strong>must not be serialized using the standard methods</strong>.</p> * * @return the Class for the content type if this is an indexed {@code DynaProperty} @@ -160,7 +160,7 @@ public class DynaProperty implements Serializable { * values.</p> * * <p>There are issues with serializing primitive class types on certain JVM versions - * (including java 1.3). + * (including Java 1.3). * Therefore, this field <strong>must not be serialized using the standard methods</strong>.</p> * * <p><strong>Please leave this field as {@code transient}</strong></p> @@ -218,7 +218,7 @@ public class DynaProperty implements Serializable { } /** - * Reads a class using safe encoding to workaround java 1.3 serialization bug. + * Reads a class using safe encoding to workaround Java 1.3 serialization bug. */ private Class<?> readAnyClass(final ObjectInputStream in) throws IOException, ClassNotFoundException { // read back type class safely @@ -250,7 +250,7 @@ public class DynaProperty implements Serializable { /** * Reads field values for this object safely. * There are issues with serializing primitive class types on certain JVM versions - * (including java 1.3). + * (including Java 1.3). * This method provides a workaround. * * @param in {@link ObjectInputStream} to read object from @@ -287,7 +287,7 @@ public class DynaProperty implements Serializable { } /** - * Write a class using safe encoding to workaround java 1.3 serialization bug. + * Write a class using safe encoding to workaround Java 1.3 serialization bug. */ private void writeAnyClass(final Class<?> clazz, final ObjectOutputStream out) throws IOException { // safely write out any class @@ -324,7 +324,7 @@ public class DynaProperty implements Serializable { /** * Writes this object safely. * There are issues with serializing primitive class types on certain JVM versions - * (including java 1.3). + * (including Java 1.3). * This method provides a workaround. * * @param out {@link ObjectOutputStream} to write object to diff --git a/src/main/java/org/apache/commons/beanutils2/WrapDynaBean.java b/src/main/java/org/apache/commons/beanutils2/WrapDynaBean.java index a760d661..005b1df4 100644 --- a/src/main/java/org/apache/commons/beanutils2/WrapDynaBean.java +++ b/src/main/java/org/apache/commons/beanutils2/WrapDynaBean.java @@ -25,7 +25,7 @@ import java.lang.reflect.InvocationTargetException; * instance, so that DynaBean APIs can be used to access its properties.</p> * * <p> - * The most common use cases for this class involve wrapping an existing java bean. + * The most common use cases for this class involve wrapping an existing Java bean. * (This makes it different from the typical use cases for other {@code DynaBean}'s.) * For example: * </p> @@ -234,7 +234,7 @@ public class WrapDynaBean implements DynaBean, Serializable { * But some creators of frameworks using {@code DynaBean}'s may * find this useful. * - * @return the java bean Object wrapped by this {@code DynaBean} + * @return the Java bean Object wrapped by this {@code DynaBean} */ public Object getInstance() { return instance; diff --git a/src/main/java/org/apache/commons/beanutils2/package-info.java b/src/main/java/org/apache/commons/beanutils2/package-info.java index ebb84528..fc2d8bf4 100644 --- a/src/main/java/org/apache/commons/beanutils2/package-info.java +++ b/src/main/java/org/apache/commons/beanutils2/package-info.java @@ -1008,7 +1008,7 @@ * <li>A property can have only one set and one get method. Overloading is not allowed.</li> * <li>The {@code java.beans.Introspector} searches widely for a custom <em>BeanInfo</em> * class. If your class has the same name as another with a custom <em>BeanInfo</em> - * (typically a java API class) then the {@code Introspector} may use that instead of + * (typically a Java API class) then the {@code Introspector} may use that instead of * creating via reflection based on your class. If this happens, the only solution is to * create your own <em>BeanInfo</em>.</li> * </ul> diff --git a/src/test/java/org/apache/commons/beanutils2/BenchBean.java b/src/test/java/org/apache/commons/beanutils2/BenchBean.java index bba74aae..136d68f3 100644 --- a/src/test/java/org/apache/commons/beanutils2/BenchBean.java +++ b/src/test/java/org/apache/commons/beanutils2/BenchBean.java @@ -18,7 +18,7 @@ package org.apache.commons.beanutils2; /** - * Plain old java bean (POJO) for microbenchmarks. + * Plain old Java bean (POJO) for microbenchmarks. * */ diff --git a/src/test/java/org/apache/commons/beanutils2/MappedPropertyTestBean.java b/src/test/java/org/apache/commons/beanutils2/MappedPropertyTestBean.java index 7a948fed..47dc7728 100644 --- a/src/test/java/org/apache/commons/beanutils2/MappedPropertyTestBean.java +++ b/src/test/java/org/apache/commons/beanutils2/MappedPropertyTestBean.java @@ -21,7 +21,7 @@ import java.util.HashMap; import java.util.Map; /** - * Just a java bean (JAJB) to try to replicate a reported bug + * Just a Java bean (JAJB) to try to replicate a reported bug * */