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-configuration.git
The following commit(s) were added to refs/heads/master by this push: new 02426093 Javadoc and comment typos 02426093 is described below commit 02426093d00852698b4f2700d89feba00c4bcbe4 Author: Gary D. Gregory <garydgreg...@gmail.com> AuthorDate: Sun May 4 09:28:53 2025 -0400 Javadoc and comment typos --- src/changes/changes.xml | 2 +- .../java/org/apache/commons/configuration2/interpol/ExprLookup.java | 2 +- .../org/apache/commons/configuration2/resolver/CatalogResolver.java | 2 +- src/site/xdoc/userguide/howto_utilities.xml | 2 +- .../java/org/apache/commons/configuration2/TestXMLConfiguration.java | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index b0a1e1d9..8d67c54a 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -2417,7 +2417,7 @@ extends this class. </action> <action dev="oheger" type="update" due-to="Kay Doebl" issue="CONFIGURATION-41"> - XMLConfiguration now prints the used encoding in the xml declaration of + XMLConfiguration now prints the used encoding in the XML declaration of generated files. In earlier versions always the default encoding was written. PropertiesConfiguration now always uses the platform specific line separator when saving files. diff --git a/src/main/java/org/apache/commons/configuration2/interpol/ExprLookup.java b/src/main/java/org/apache/commons/configuration2/interpol/ExprLookup.java index ed73e07c..820f88e6 100644 --- a/src/main/java/org/apache/commons/configuration2/interpol/ExprLookup.java +++ b/src/main/java/org/apache/commons/configuration2/interpol/ExprLookup.java @@ -45,7 +45,7 @@ import org.apache.commons.text.lookup.StringLookup; * String str = lookup.lookup("'$[element] ' + String.trimToEmpty('$[space.description]')"); * </pre> * - * In the example above TEST_FILE contains xml that looks like: + * In the example above TEST_FILE contains XML that looks like: * * <pre> * <configuration> diff --git a/src/main/java/org/apache/commons/configuration2/resolver/CatalogResolver.java b/src/main/java/org/apache/commons/configuration2/resolver/CatalogResolver.java index ea9026e5..577d6b28 100644 --- a/src/main/java/org/apache/commons/configuration2/resolver/CatalogResolver.java +++ b/src/main/java/org/apache/commons/configuration2/resolver/CatalogResolver.java @@ -36,7 +36,7 @@ import org.xml.sax.InputSource; import org.xml.sax.SAXException; /** - * Thin wrapper around xml commons CatalogResolver to allow list of catalogs to be provided. + * Thin wrapper around XML commons CatalogResolver to allow list of catalogs to be provided. * * @since 1.7 */ diff --git a/src/site/xdoc/userguide/howto_utilities.xml b/src/site/xdoc/userguide/howto_utilities.xml index 43b402db..3aee7da7 100644 --- a/src/site/xdoc/userguide/howto_utilities.xml +++ b/src/site/xdoc/userguide/howto_utilities.xml @@ -377,7 +377,7 @@ Configuration config = wrapperFactory.createBuilderConfigurationWrapper( If you've used this with Commons Configuration 1.x, just replace the spring-modules-jakarta-commons classname with <code>ConfigurationPropertiesFactoryBean</code>. - Here is a sample xml configuration: + Here is a sample XML configuration: </p> <source><![CDATA[ <bean id="placeholderConfig" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> diff --git a/src/test/java/org/apache/commons/configuration2/TestXMLConfiguration.java b/src/test/java/org/apache/commons/configuration2/TestXMLConfiguration.java index 99910d37..62e59529 100644 --- a/src/test/java/org/apache/commons/configuration2/TestXMLConfiguration.java +++ b/src/test/java/org/apache/commons/configuration2/TestXMLConfiguration.java @@ -65,7 +65,7 @@ import org.xml.sax.SAXParseException; import org.xml.sax.helpers.DefaultHandler; /** - * test for loading and saving xml properties files + * test for loading and saving XML properties files */ public class TestXMLConfiguration { /** @@ -319,7 +319,7 @@ public class TestXMLConfiguration { @Test public void testAddProperty() { - // add a property to a non initialized xml configuration + // add a property to a non initialized XML configuration final XMLConfiguration config = new XMLConfiguration(); config.addProperty("test.string", "hello");