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 da007a35 Javadoc
da007a35 is described below

commit da007a352b11906e787e3002b2a4e5b7a35d2088
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sun Jun 30 11:08:15 2024 -0400

    Javadoc
---
 .../commons/configuration2/PrefixedKeysIterator.java     | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/configuration2/PrefixedKeysIterator.java 
b/src/main/java/org/apache/commons/configuration2/PrefixedKeysIterator.java
index 2e403169..96bb280b 100644
--- a/src/main/java/org/apache/commons/configuration2/PrefixedKeysIterator.java
+++ b/src/main/java/org/apache/commons/configuration2/PrefixedKeysIterator.java
@@ -21,14 +21,14 @@ import java.util.Iterator;
 import java.util.NoSuchElementException;
 
 /**
- * * A specialized iterator implementation used by {@link 
AbstractConfiguration} to return an iteration over all keys
+ * A specialized iterator implementation used by {@link AbstractConfiguration} 
to return an iteration over all keys
  * starting with a specified prefix.
- *
  * <p>
  * This class is basically a stripped-down version of the {@code 
FilterIterator} class of Commons Collections
  * </p>
  */
 final class PrefixedKeysIterator implements Iterator<String> {
+
     /** Stores the wrapped iterator. */
     private final Iterator<String> iterator;
 
@@ -55,12 +55,12 @@ final class PrefixedKeysIterator implements 
Iterator<String> {
         this(wrappedIterator, keyPrefix, ".");
     }
 
-     /**
-     * Creates a new instance of {@code PrefixedKeysIterator} and sets the 
wrapped iterator and the prefix as well as
-     * the delimiter for the preix for the accepted keys.
+    /**
+     * Creates a new instance of {@code PrefixedKeysIterator} and sets the 
wrapped iterator and the prefix as well as the delimiter for the preix for the
+     * accepted keys.
      *
      * @param wrappedIterator the wrapped iterator
-     * @param keyPrefix the prefix of the allowed keys
+     * @param keyPrefix       the prefix of the allowed keys
      * @param prefixDelimiter the prefix delimiter
      * @since 2.10.0
      */
@@ -71,9 +71,9 @@ final class PrefixedKeysIterator implements Iterator<String> {
     }
 
     /**
-     * Returns a flag whether there are more elements in the iteration.
+     * Tests whether there are more elements in the iteration.
      *
-     * @return a flag if there is a next element
+     * @return whether there are more elements in the iteration.
      */
     @Override
     public boolean hasNext() {

Reply via email to