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 0030065 Normalize spelling to US English in comments. 0030065 is described below commit 0030065f97efb0cc2956bbf7dd64c6911f5522a0 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Thu Dec 17 12:15:59 2020 -0500 Normalize spelling to US English in comments. --- .../main/java/org/apache/commons/digester3/AbstractMethodRule.java | 2 +- core/src/main/java/org/apache/commons/digester3/Digester.java | 2 +- .../src/main/java/org/apache/commons/digester3/ExtendedBaseRules.java | 2 +- .../main/java/org/apache/commons/digester3/plugins/PluginContext.java | 2 +- .../commons/digester3/plugins/strategies/FinderSetProperties.java | 2 +- .../java/org/apache/commons/digester3/CallMethodRuleTestCase.java | 4 ++-- core/src/test/java/org/apache/commons/digester3/ParamBean.java | 2 +- .../src/test/java/org/apache/commons/digester3/RulesBaseTestCase.java | 4 ++-- .../test/java/org/apache/commons/digester3/plugins/DumperRule.java | 2 +- .../commons/digester3/plugins/TestConfigurablePluginAttributes.java | 4 ++-- .../java/org/apache/commons/digester3/plugins/TestDeclaration.java | 2 +- .../test/java/org/apache/commons/digester3/plugins/TestDelegate.java | 2 +- .../java/org/apache/commons/digester3/examples/api/catalog/Main.java | 2 +- .../java/org/apache/commons/digester3/examples/api/dbinsert/Main.java | 2 +- .../apache/commons/digester3/examples/api/documentmarkup/Main.java | 2 +- 15 files changed, 18 insertions(+), 18 deletions(-) diff --git a/core/src/main/java/org/apache/commons/digester3/AbstractMethodRule.java b/core/src/main/java/org/apache/commons/digester3/AbstractMethodRule.java index f755096..b1b8689 100644 --- a/core/src/main/java/org/apache/commons/digester3/AbstractMethodRule.java +++ b/core/src/main/java/org/apache/commons/digester3/AbstractMethodRule.java @@ -107,7 +107,7 @@ public abstract class AbstractMethodRule * <p> * This rule uses <code>org.apache.commons.beanutils.MethodUtils</code> to introspect the relevent objects so that * the right method can be called. Originally, <code>MethodUtils.invokeExactMethod</code> was used. This matches - * methods very strictly and so may not find a matching method when one exists. This is still the behaviour when + * methods very strictly and so may not find a matching method when one exists. This is still the behavior when * exact matching is enabled. * </p> * <p> diff --git a/core/src/main/java/org/apache/commons/digester3/Digester.java b/core/src/main/java/org/apache/commons/digester3/Digester.java index 83ea322..3994c24 100644 --- a/core/src/main/java/org/apache/commons/digester3/Digester.java +++ b/core/src/main/java/org/apache/commons/digester3/Digester.java @@ -1969,7 +1969,7 @@ public class Digester * stream = connect.getInputStream(); * </pre> * - * This method pretty much duplicates the standard behaviour, except that it calls URLConnection.setUseCaches(false) + * This method pretty much duplicates the standard behavior, except that it calls URLConnection.setUseCaches(false) * before opening the connection. * * @param url The URL has to be read diff --git a/core/src/main/java/org/apache/commons/digester3/ExtendedBaseRules.java b/core/src/main/java/org/apache/commons/digester3/ExtendedBaseRules.java index eda4c67..51b8c58 100644 --- a/core/src/main/java/org/apache/commons/digester3/ExtendedBaseRules.java +++ b/core/src/main/java/org/apache/commons/digester3/ExtendedBaseRules.java @@ -243,7 +243,7 @@ public class ExtendedBaseRules universalList.addAll( tempList ); } - // base behaviour means that if we certain matches, we don't continue + // base behavior means that if we certain matches, we don't continue // but we just have a single combined loop and so we have to set // a variable boolean ignoreBasicMatches = false; diff --git a/core/src/main/java/org/apache/commons/digester3/plugins/PluginContext.java b/core/src/main/java/org/apache/commons/digester3/plugins/PluginContext.java index a70e7b1..57df61b 100644 --- a/core/src/main/java/org/apache/commons/digester3/plugins/PluginContext.java +++ b/core/src/main/java/org/apache/commons/digester3/plugins/PluginContext.java @@ -180,7 +180,7 @@ public class PluginContext * <some-plugin id="widget"> ...... * </pre> * - * rather than the default behaviour: + * rather than the default behavior: * * <pre> * <root> diff --git a/core/src/main/java/org/apache/commons/digester3/plugins/strategies/FinderSetProperties.java b/core/src/main/java/org/apache/commons/digester3/plugins/strategies/FinderSetProperties.java index 03e7f14..2b2c3d0 100644 --- a/core/src/main/java/org/apache/commons/digester3/plugins/strategies/FinderSetProperties.java +++ b/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 behaviour 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/core/src/test/java/org/apache/commons/digester3/CallMethodRuleTestCase.java b/core/src/test/java/org/apache/commons/digester3/CallMethodRuleTestCase.java index 552f74b..08d5af0 100644 --- a/core/src/test/java/org/apache/commons/digester3/CallMethodRuleTestCase.java +++ b/core/src/test/java/org/apache/commons/digester3/CallMethodRuleTestCase.java @@ -286,9 +286,9 @@ public class CallMethodRuleTestCase * Test nested CallMethod rules. * <p> * The current implementation of CallMethodRule, in which the method is invoked in its end() method, causes - * behaviour which some users find non-intuitive. In this test it can be seen to "reverse" the order of data + * behavior which some users find non-intuitive. In this test it can be seen to "reverse" the order of data * processed. However this is the way CallMethodRule has always behaved, and it is expected that apps out there rely - * on this call order so this test is present to ensure that no-one changes this behaviour. + * on this call order so this test is present to ensure that no-one changes this behavior. */ @Test public void testOrderNestedPartB() diff --git a/core/src/test/java/org/apache/commons/digester3/ParamBean.java b/core/src/test/java/org/apache/commons/digester3/ParamBean.java index 26f2ac4..d9f3c49 100644 --- a/core/src/test/java/org/apache/commons/digester3/ParamBean.java +++ b/core/src/test/java/org/apache/commons/digester3/ParamBean.java @@ -19,7 +19,7 @@ package org.apache.commons.digester3; /** - * This bean is used to replicate a reasonably complex use case whose behaviour has changed from Digester 1.3 to 1.4. + * This bean is used to replicate a reasonably complex use case whose behavior has changed from Digester 1.3 to 1.4. * * @author robert burrell donkin */ diff --git a/core/src/test/java/org/apache/commons/digester3/RulesBaseTestCase.java b/core/src/test/java/org/apache/commons/digester3/RulesBaseTestCase.java index d669962..52e76fa 100644 --- a/core/src/test/java/org/apache/commons/digester3/RulesBaseTestCase.java +++ b/core/src/test/java/org/apache/commons/digester3/RulesBaseTestCase.java @@ -34,7 +34,7 @@ import org.junit.Test; /** * <p> * Test Case for the RulesBase matching rules. Most of this material was original contained in the digester test case - * but was moved into this class so that extensions of the basic matching rules behaviour can extend this test case. + * but was moved into this class so that extensions of the basic matching rules behavior can extend this test case. * </p> * * @author Craig R. McClanahan @@ -249,7 +249,7 @@ public class RulesBaseTestCase } - /** Tests the behaviour when a rule is added with a trailing slash */ + /** Tests the behavior when a rule is added with a trailing slash */ @Test public void testTrailingSlash() { diff --git a/core/src/test/java/org/apache/commons/digester3/plugins/DumperRule.java b/core/src/test/java/org/apache/commons/digester3/plugins/DumperRule.java index 003c633..ce74e14 100644 --- a/core/src/test/java/org/apache/commons/digester3/plugins/DumperRule.java +++ b/core/src/test/java/org/apache/commons/digester3/plugins/DumperRule.java @@ -21,7 +21,7 @@ import org.xml.sax.Attributes; import org.apache.commons.digester3.Rule; /** - * Demonstrates the behaviour of the Delegate interface. + * Demonstrates the behavior of the Delegate interface. */ public class DumperRule extends Rule diff --git a/core/src/test/java/org/apache/commons/digester3/plugins/TestConfigurablePluginAttributes.java b/core/src/test/java/org/apache/commons/digester3/plugins/TestConfigurablePluginAttributes.java index 3b712d6..225cc06 100644 --- a/core/src/test/java/org/apache/commons/digester3/plugins/TestConfigurablePluginAttributes.java +++ b/core/src/test/java/org/apache/commons/digester3/plugins/TestConfigurablePluginAttributes.java @@ -96,7 +96,7 @@ public class TestConfigurablePluginAttributes public void testGlobalOverride() throws Exception { - // Tests that using setDefaultPluginXXXX overrides behaviour for all + // Tests that using setDefaultPluginXXXX overrides behavior for all // PluginCreateRule instances. Also tests specifying attributes // with "null" for namespace (ie attributes not in any namespace). // @@ -158,7 +158,7 @@ public class TestConfigurablePluginAttributes public void testInstanceOverride() throws Exception { - // Tests that using setPluginXXXX overrides behaviour for only + // Tests that using setPluginXXXX overrides behavior for only // that particular PluginCreateRule instance. Also tests that // attributes can be in namespaces. diff --git a/core/src/test/java/org/apache/commons/digester3/plugins/TestDeclaration.java b/core/src/test/java/org/apache/commons/digester3/plugins/TestDeclaration.java index 1953cfa..60f9744 100644 --- a/core/src/test/java/org/apache/commons/digester3/plugins/TestDeclaration.java +++ b/core/src/test/java/org/apache/commons/digester3/plugins/TestDeclaration.java @@ -29,7 +29,7 @@ import org.apache.commons.digester3.plugins.PluginRules; import org.junit.Test; /** - * Test cases for basic PluginDeclarationRule behaviour. + * Test cases for basic PluginDeclarationRule behavior. */ public class TestDeclaration diff --git a/core/src/test/java/org/apache/commons/digester3/plugins/TestDelegate.java b/core/src/test/java/org/apache/commons/digester3/plugins/TestDelegate.java index dd2b14e..a7cb899 100644 --- a/core/src/test/java/org/apache/commons/digester3/plugins/TestDelegate.java +++ b/core/src/test/java/org/apache/commons/digester3/plugins/TestDelegate.java @@ -23,7 +23,7 @@ import org.apache.commons.digester3.plugins.PluginRules; import org.junit.Test; /** - * Test cases for Delegate behaviour. + * Test cases for Delegate behavior. */ public class TestDelegate diff --git a/examples/api/catalog/src/main/java/org/apache/commons/digester3/examples/api/catalog/Main.java b/examples/api/catalog/src/main/java/org/apache/commons/digester3/examples/api/catalog/Main.java index a9172a9..c0bdff0 100644 --- a/examples/api/catalog/src/main/java/org/apache/commons/digester3/examples/api/catalog/Main.java +++ b/examples/api/catalog/src/main/java/org/apache/commons/digester3/examples/api/catalog/Main.java @@ -158,7 +158,7 @@ public class Main // a dvd; we can use the ObjectParamRule to pass a string to any // method. This usage is a little artificial - normally in this // situation there would be separate Dvd and Video classes. - // Note also that equivalent behaviour could be implemented by + // Note also that equivalent behavior could be implemented by // using factory objects to create & initialise the AudioVisual // objects with their type rather than using ObjectCreateRule. diff --git a/examples/api/dbinsert/src/main/java/org/apache/commons/digester3/examples/api/dbinsert/Main.java b/examples/api/dbinsert/src/main/java/org/apache/commons/digester3/examples/api/dbinsert/Main.java index 8fd49d5..356a861 100644 --- a/examples/api/dbinsert/src/main/java/org/apache/commons/digester3/examples/api/dbinsert/Main.java +++ b/examples/api/dbinsert/src/main/java/org/apache/commons/digester3/examples/api/dbinsert/Main.java @@ -110,7 +110,7 @@ public class Main // the enclosing tablename was. // // Note that the object is popped off the stack at the end of the - // "table" tag (normal behaviour for ObjectCreateRule). Because we + // "table" tag (normal behavior for ObjectCreateRule). Because we // never added the table object to some parent object, when it is // popped off the digester stack it becomes garbage-collected. That // is fine in this situation; we've done all the necessary work and diff --git a/examples/api/document-markup/src/main/java/org/apache/commons/digester3/examples/api/documentmarkup/Main.java b/examples/api/document-markup/src/main/java/org/apache/commons/digester3/examples/api/documentmarkup/Main.java index e361ab5..f32924e 100644 --- a/examples/api/document-markup/src/main/java/org/apache/commons/digester3/examples/api/documentmarkup/Main.java +++ b/examples/api/document-markup/src/main/java/org/apache/commons/digester3/examples/api/documentmarkup/Main.java @@ -53,7 +53,7 @@ public class Main /** * Invoked via a standard Digester CallMethodRule, passing the * "body text" of the top-level xml element. This demonstrates - * the default behaviour of Digester (which is not suitable for + * the default behavior of Digester (which is not suitable for * processing markup-style xml). */ public void addAllText( final String text )