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-digester.git
The following commit(s) were added to refs/heads/master by this push: new 571762dc Javadoc spelling 571762dc is described below commit 571762dcf834f52e14588da38a8b735f7b517014 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sun Nov 26 15:51:02 2023 -0500 Javadoc spelling --- .../java/org/apache/commons/digester3/SetNestedPropertiesRule.java | 6 +++--- .../java/org/apache/commons/digester3/binder/AddAliasBuilder.java | 2 +- .../apache/commons/digester3/binder/NestedPropertiesBuilder.java | 2 +- .../org/apache/commons/digester3/binder/ObjectCreateBuilder.java | 2 +- .../org/apache/commons/digester3/binder/SetPropertiesBuilder.java | 2 +- .../apache/commons/digester3/plugins/PluginAssertionFailure.java | 4 ++-- .../commons/digester3/plugins/strategies/FinderSetProperties.java | 2 +- .../apache/commons/digester3/SetNestedPropertiesRuleTestCase.java | 2 +- .../org/apache/commons/digester3/examples/api/addressbook/Main.java | 2 +- .../org/apache/commons/digester3/examples/api/catalog/Main.java | 2 +- .../org/apache/commons/digester3/examples/api/dbinsert/Row.java | 2 +- .../commons/digester3/examples/xmlrules/addressbook/Main.java | 2 +- 12 files changed, 15 insertions(+), 15 deletions(-) diff --git a/commons-digester3-core/src/main/java/org/apache/commons/digester3/SetNestedPropertiesRule.java b/commons-digester3-core/src/main/java/org/apache/commons/digester3/SetNestedPropertiesRule.java index c684b888..c22dc7ad 100644 --- a/commons-digester3-core/src/main/java/org/apache/commons/digester3/SetNestedPropertiesRule.java +++ b/commons-digester3-core/src/main/java/org/apache/commons/digester3/SetNestedPropertiesRule.java @@ -331,7 +331,7 @@ public class SetNestedPropertiesRule /** * Base constructor, which maps every child element into a bean property with the same name as the xml element. * <p> - * It is an error if a child xml element exists but the target java bean has no such property (unless + * It is an error if a child xml element exists but the target Java bean has no such property (unless * {@link #setAllowUnknownChildElements(boolean)} has been set to true). * </p> */ @@ -366,7 +366,7 @@ public class SetNestedPropertiesRule * </p> * * @param elementName is the child xml element to match - * @param propertyName is the java bean property to be assigned the value of the specified xml element. This may be + * @param propertyName is the Java bean property to be assigned the value of the specified xml element. This may be * null, in which case the specified xml element will be ignored. */ public SetNestedPropertiesRule( final String elementName, final String propertyName ) @@ -379,7 +379,7 @@ public class SetNestedPropertiesRule * Constructor which allows element->property mapping to be overridden. * </p> * <p> - * Two arrays are passed in. One contains xml element names and the other java bean property names. The element name + * Two arrays are passed in. One contains xml element names and the other Java bean property names. The element name * / property name pairs are matched by position; in order words, the first string in the element name array * corresponds to the first string in the property name array and so on. * </p> diff --git a/commons-digester3-core/src/main/java/org/apache/commons/digester3/binder/AddAliasBuilder.java b/commons-digester3-core/src/main/java/org/apache/commons/digester3/binder/AddAliasBuilder.java index 6d0881d2..9c04b2d1 100644 --- a/commons-digester3-core/src/main/java/org/apache/commons/digester3/binder/AddAliasBuilder.java +++ b/commons-digester3-core/src/main/java/org/apache/commons/digester3/binder/AddAliasBuilder.java @@ -44,7 +44,7 @@ public final class AddAliasBuilder<B> /** * Allows expressing the input property name alias. * - * @param propertyName The java bean property to be assigned the value + * @param propertyName The Java bean property to be assigned the value * @return the parent builder to chain. */ public B forProperty( /*@Nullable*/ final String propertyName ) diff --git a/commons-digester3-core/src/main/java/org/apache/commons/digester3/binder/NestedPropertiesBuilder.java b/commons-digester3-core/src/main/java/org/apache/commons/digester3/binder/NestedPropertiesBuilder.java index ab12445f..77d34d1b 100644 --- a/commons-digester3-core/src/main/java/org/apache/commons/digester3/binder/NestedPropertiesBuilder.java +++ b/commons-digester3-core/src/main/java/org/apache/commons/digester3/binder/NestedPropertiesBuilder.java @@ -65,7 +65,7 @@ public final class NestedPropertiesBuilder * Allows element2property mapping to be overridden. * * @param elementName The child xml element to match - * @param propertyName The java bean property to be assigned the value + * @param propertyName The Java bean property to be assigned the value * @return this builder instance * @deprecated */ diff --git a/commons-digester3-core/src/main/java/org/apache/commons/digester3/binder/ObjectCreateBuilder.java b/commons-digester3-core/src/main/java/org/apache/commons/digester3/binder/ObjectCreateBuilder.java index 3ec7f28b..d60e00b9 100644 --- a/commons-digester3-core/src/main/java/org/apache/commons/digester3/binder/ObjectCreateBuilder.java +++ b/commons-digester3-core/src/main/java/org/apache/commons/digester3/binder/ObjectCreateBuilder.java @@ -84,7 +84,7 @@ public final class ObjectCreateBuilder /** * Constructs an object with the specified class. * - * @param <T> any java type + * @param <T> any Java type * @param type Java class of the object to be created * @return this builder instance */ diff --git a/commons-digester3-core/src/main/java/org/apache/commons/digester3/binder/SetPropertiesBuilder.java b/commons-digester3-core/src/main/java/org/apache/commons/digester3/binder/SetPropertiesBuilder.java index c4db94ac..ef6c948e 100644 --- a/commons-digester3-core/src/main/java/org/apache/commons/digester3/binder/SetPropertiesBuilder.java +++ b/commons-digester3-core/src/main/java/org/apache/commons/digester3/binder/SetPropertiesBuilder.java @@ -61,7 +61,7 @@ public final class SetPropertiesBuilder * Add an additional attribute name to property name mapping. * * @param attributeName The attribute to match - * @param propertyName The java bean property to be assigned the value + * @param propertyName The Java bean property to be assigned the value * @return this builder instance * @deprecated */ diff --git a/commons-digester3-core/src/main/java/org/apache/commons/digester3/plugins/PluginAssertionFailure.java b/commons-digester3-core/src/main/java/org/apache/commons/digester3/plugins/PluginAssertionFailure.java index 86a6afd9..5f1398d8 100644 --- a/commons-digester3-core/src/main/java/org/apache/commons/digester3/plugins/PluginAssertionFailure.java +++ b/commons-digester3-core/src/main/java/org/apache/commons/digester3/plugins/PluginAssertionFailure.java @@ -22,8 +22,8 @@ package org.apache.commons.digester3.plugins; /** * Thrown when a bug is detected in the plugins code. * <p> - * This class is intended to be used in assertion statements, similar to the way that java 1.4's native assertion - * mechanism is used. However there is a difference: when a java 1.4 assertion fails, an AssertionError is thrown, which + * This class is intended to be used in assertion statements, similar to the way that Java 1.4's native assertion + * mechanism is used. However there is a difference: when a Java 1.4 assertion fails, an AssertionError is thrown, which * is a subclass of Error; here, the PluginAssertionFailure class extends RuntimeException rather than Error. * <p> * This difference in design is because throwing Error objects is not good in a container-based architecture. diff --git a/commons-digester3-core/src/main/java/org/apache/commons/digester3/plugins/strategies/FinderSetProperties.java b/commons-digester3-core/src/main/java/org/apache/commons/digester3/plugins/strategies/FinderSetProperties.java index ca0f9a69..b8b50a8a 100644 --- a/commons-digester3-core/src/main/java/org/apache/commons/digester3/plugins/strategies/FinderSetProperties.java +++ b/commons-digester3-core/src/main/java/org/apache/commons/digester3/plugins/strategies/FinderSetProperties.java @@ -77,7 +77,7 @@ public class FinderSetProperties * propsAttr, and the value matching what is in falseval. * <p> * If no custom source of rules for a plugin is found, then the user almost always wants xml attributes to map to - * java bean properties, so this is the default behavior unless the user explicitly indicates that they do + * Java bean properties, so this is the default behavior unless the user explicitly indicates that they do * <i>not</i> want a SetPropertiesRule to be provided for the plugged-in class. * <p> * The returned object (when non-null) will add a SetPropertiesRule to the digester whenever its addRules method is diff --git a/commons-digester3-core/src/test/java/org/apache/commons/digester3/SetNestedPropertiesRuleTestCase.java b/commons-digester3-core/src/test/java/org/apache/commons/digester3/SetNestedPropertiesRuleTestCase.java index 63a048d8..50c0fd6d 100644 --- a/commons-digester3-core/src/test/java/org/apache/commons/digester3/SetNestedPropertiesRuleTestCase.java +++ b/commons-digester3-core/src/test/java/org/apache/commons/digester3/SetNestedPropertiesRuleTestCase.java @@ -204,7 +204,7 @@ public class SetNestedPropertiesRuleTestCase } /** - * Test that it is an error when a child element exists but no corresponding java property exists. + * Test that it is an error when a child element exists but no corresponding Java property exists. */ @Test public void testMandatoryProperties() diff --git a/commons-digester3-examples/api/addressbook/src/main/java/org/apache/commons/digester3/examples/api/addressbook/Main.java b/commons-digester3-examples/api/addressbook/src/main/java/org/apache/commons/digester3/examples/api/addressbook/Main.java index efbb6df5..bb3d2846 100644 --- a/commons-digester3-examples/api/addressbook/src/main/java/org/apache/commons/digester3/examples/api/addressbook/Main.java +++ b/commons-digester3-examples/api/addressbook/src/main/java/org/apache/commons/digester3/examples/api/addressbook/Main.java @@ -24,7 +24,7 @@ import org.apache.commons.digester3.Digester; * Commons Digester module. * <p> * This code will parse the provided "example.xml" file to build a tree - * of java objects, then cause those objects to print out their values + * of Java objects, then cause those objects to print out their values * to demonstrate that the input file has been processed correctly. * <p> * As with all code, there are many ways of achieving the same goal; diff --git a/commons-digester3-examples/api/catalog/src/main/java/org/apache/commons/digester3/examples/api/catalog/Main.java b/commons-digester3-examples/api/catalog/src/main/java/org/apache/commons/digester3/examples/api/catalog/Main.java index 8f0ef93e..970effe8 100644 --- a/commons-digester3-examples/api/catalog/src/main/java/org/apache/commons/digester3/examples/api/catalog/Main.java +++ b/commons-digester3-examples/api/catalog/src/main/java/org/apache/commons/digester3/examples/api/catalog/Main.java @@ -26,7 +26,7 @@ import org.apache.commons.digester3.Digester; * Commons Digester module. * <p> * This code will parse the provided "example.xml" file to build a tree - * of java objects, then cause those objects to print out their values + * of Java objects, then cause those objects to print out their values * to demonstrate that the input file has been processed correctly. The * input file represents a catalog of items in a library. * <p> diff --git a/commons-digester3-examples/api/dbinsert/src/main/java/org/apache/commons/digester3/examples/api/dbinsert/Row.java b/commons-digester3-examples/api/dbinsert/src/main/java/org/apache/commons/digester3/examples/api/dbinsert/Row.java index c3e6a214..1c92919a 100644 --- a/commons-digester3-examples/api/dbinsert/src/main/java/org/apache/commons/digester3/examples/api/dbinsert/Row.java +++ b/commons-digester3-examples/api/dbinsert/src/main/java/org/apache/commons/digester3/examples/api/dbinsert/Row.java @@ -32,7 +32,7 @@ public class Row * order. This wouldn't be a problem if we were really inserting into * a database; it only matters because we are displaying the SQL statements * via stdout instead. The LinkedHashMap class would be nice to use, but - * that would require java 1.4, so we'll use a list instead, and may as + * that would require Java 1.4, so we'll use a list instead, and may as * well call the entries in the list 'Column' objects. */ public static class Column diff --git a/commons-digester3-examples/xmlrules/addressbook/src/main/java/org/apache/commons/digester3/examples/xmlrules/addressbook/Main.java b/commons-digester3-examples/xmlrules/addressbook/src/main/java/org/apache/commons/digester3/examples/xmlrules/addressbook/Main.java index dcd287a0..2f5a5fff 100644 --- a/commons-digester3-examples/xmlrules/addressbook/src/main/java/org/apache/commons/digester3/examples/xmlrules/addressbook/Main.java +++ b/commons-digester3-examples/xmlrules/addressbook/src/main/java/org/apache/commons/digester3/examples/xmlrules/addressbook/Main.java @@ -31,7 +31,7 @@ import org.xml.sax.SAXException; * Commons Digester module with the xmlrules extension. * <p> * This code will parse the provided "example.xml" file to build a tree - * of java objects, then cause those objects to print out their values + * of Java objects, then cause those objects to print out their values * to demonstrate that the input file has been processed correctly. * <p> * Unlike the "addressbook" example in the "api" section, this implementation