This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch release
in repository https://gitbox.apache.org/repos/asf/commons-configuration.git
The following commit(s) were added to refs/heads/release by this push:
new c968e820 Fix typos
c968e820 is described below
commit c968e820e3f6143b8844004c4917e60a733b97b2
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Jan 15 07:59:25 2023 -0500
Fix typos
---
.../org/apache/commons/configuration2/ImmutableConfiguration.java | 4 ++--
.../builder/combined/CombinedBuilderParametersImpl.java | 2 +-
.../configuration2/builder/combined/CombinedBuilderProperties.java | 2 +-
.../apache/commons/configuration2/builder/fluent/Configurations.java | 2 +-
.../apache/commons/configuration2/tree/ConfigurationNodeVisitor.java | 2 +-
src/site/xdoc/userguide/howto_combinedconfiguration.xml | 2 +-
.../java/org/apache/commons/configuration2/io/TestFileHandler.java | 2 +-
7 files changed, 8 insertions(+), 8 deletions(-)
diff --git
a/src/main/java/org/apache/commons/configuration2/ImmutableConfiguration.java
b/src/main/java/org/apache/commons/configuration2/ImmutableConfiguration.java
index a3171197..b6c8d7f2 100644
---
a/src/main/java/org/apache/commons/configuration2/ImmutableConfiguration.java
+++
b/src/main/java/org/apache/commons/configuration2/ImmutableConfiguration.java
@@ -243,7 +243,7 @@ public interface ImmutableConfiguration {
* {@link #getCollection(Class, String, Collection, Collection)} passing
in <b>null</b> as default value.
*
* @param <T> the element type of the result list
- * @param cls the the element class of the result list
+ * @param cls the element class of the result list
* @param key the configuration key
* @param target the target collection (may be <b>null</b>)
* @return the collection to which data was added
@@ -268,7 +268,7 @@ public interface ImmutableConfiguration {
* </ul>
*
* @param <T> the element type of the result list
- * @param cls the the element class of the result list
+ * @param cls the element class of the result list
* @param key the configuration key
* @param target the target collection (may be <b>null</b>)
* @param defaultValue the default value (may be <b>null</b>)
diff --git
a/src/main/java/org/apache/commons/configuration2/builder/combined/CombinedBuilderParametersImpl.java
b/src/main/java/org/apache/commons/configuration2/builder/combined/CombinedBuilderParametersImpl.java
index 2672bfc4..2b49bcc6 100644
---
a/src/main/java/org/apache/commons/configuration2/builder/combined/CombinedBuilderParametersImpl.java
+++
b/src/main/java/org/apache/commons/configuration2/builder/combined/CombinedBuilderParametersImpl.java
@@ -257,7 +257,7 @@ public class CombinedBuilderParametersImpl extends
BasicBuilderParameters implem
}
/**
- * Sets the base path for this combined configuration builder. Normally it
it not necessary to set the base path
+ * Sets the base path for this combined configuration builder. Normally it
not necessary to set the base path
* explicitly. Per default, relative file names of configuration sources
are resolved based on the location of the
* definition file. If this is not desired or if the definition
configuration is loaded by a different means, the base
* path for relative file names can be specified using this method.
diff --git
a/src/main/java/org/apache/commons/configuration2/builder/combined/CombinedBuilderProperties.java
b/src/main/java/org/apache/commons/configuration2/builder/combined/CombinedBuilderProperties.java
index fd33ae41..2df4319b 100644
---
a/src/main/java/org/apache/commons/configuration2/builder/combined/CombinedBuilderProperties.java
+++
b/src/main/java/org/apache/commons/configuration2/builder/combined/CombinedBuilderProperties.java
@@ -70,7 +70,7 @@ public interface CombinedBuilderProperties<T> {
T registerProvider(String tagName, ConfigurationBuilderProvider provider);
/**
- * Sets the base path for this combined configuration builder. Normally it
it not necessary to set the base path
+ * Sets the base path for this combined configuration builder. Normally it
not necessary to set the base path
* explicitly. Per default, relative file names of configuration sources
are resolved based on the location of the
* definition file. If this is not desired or if the definition
configuration is loaded by a different means, the base
* path for relative file names can be specified using this method.
diff --git
a/src/main/java/org/apache/commons/configuration2/builder/fluent/Configurations.java
b/src/main/java/org/apache/commons/configuration2/builder/fluent/Configurations.java
index 9bf04658..837e6c70 100644
---
a/src/main/java/org/apache/commons/configuration2/builder/fluent/Configurations.java
+++
b/src/main/java/org/apache/commons/configuration2/builder/fluent/Configurations.java
@@ -364,7 +364,7 @@ public class Configurations {
}
/**
- * Creates a builder for a {@code INIConfiguration} and initializes it
with the file file identified by the given path.
+ * Creates a builder for a {@code INIConfiguration} and initializes it
with the file identified by the given path.
*
* @param path the path to the file to be loaded
* @return the newly created {@code FileBasedConfigurationBuilder}
diff --git
a/src/main/java/org/apache/commons/configuration2/tree/ConfigurationNodeVisitor.java
b/src/main/java/org/apache/commons/configuration2/tree/ConfigurationNodeVisitor.java
index f4ee46b8..eca6bbc0 100644
---
a/src/main/java/org/apache/commons/configuration2/tree/ConfigurationNodeVisitor.java
+++
b/src/main/java/org/apache/commons/configuration2/tree/ConfigurationNodeVisitor.java
@@ -43,7 +43,7 @@ public interface ConfigurationNodeVisitor<T> {
void visitBeforeChildren(T node, NodeHandler<T> handler);
/**
- * Visits the specified node after after its children - if existing - have
been processed.
+ * Visits the specified node after its children - if existing - have been
processed.
*
* @param node the node to be visited
* @param handler the {@code NodeHandler}
diff --git a/src/site/xdoc/userguide/howto_combinedconfiguration.xml
b/src/site/xdoc/userguide/howto_combinedconfiguration.xml
index b669c456..c1a363d9 100644
--- a/src/site/xdoc/userguide/howto_combinedconfiguration.xml
+++ b/src/site/xdoc/userguide/howto_combinedconfiguration.xml
@@ -456,7 +456,7 @@
would be used.
</p></td></tr></table>
<p>
- The next file is the the result of using the <code>UnionCombiner</code>
+ The next file is the result of using the <code>UnionCombiner</code>
</p>
<table>
<tr>
diff --git
a/src/test/java/org/apache/commons/configuration2/io/TestFileHandler.java
b/src/test/java/org/apache/commons/configuration2/io/TestFileHandler.java
index 51bc5419..202960fb 100644
--- a/src/test/java/org/apache/commons/configuration2/io/TestFileHandler.java
+++ b/src/test/java/org/apache/commons/configuration2/io/TestFileHandler.java
@@ -554,7 +554,7 @@ public class TestFileHandler {
}
/**
- * Tests whether whether data can be loaded from class path.
+ * Tests whether data can be loaded from class path.
*/
@Test
public void testLoadFromClassPath() throws ConfigurationException {