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-text.git


The following commit(s) were added to refs/heads/master by this push:
     new 6304bd1  Javadoc.
6304bd1 is described below

commit 6304bd1e86397283bc91672d781611fb1d8884d4
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Fri Jun 26 12:23:46 2020 -0400

    Javadoc.
---
 src/main/java/org/apache/commons/text/StrMatcher.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/commons/text/StrMatcher.java 
b/src/main/java/org/apache/commons/text/StrMatcher.java
index d7a0348..1ad0110 100644
--- a/src/main/java/org/apache/commons/text/StrMatcher.java
+++ b/src/main/java/org/apache/commons/text/StrMatcher.java
@@ -296,7 +296,7 @@ public abstract class StrMatcher {
         }
 
         /**
-         * Returns whether or not the given character matches.
+         * Returns {@code 1} if there is a match, or {@code 0} if there is no 
match.
          *
          * @param buffer  the text content to match against, do not change
          * @param pos  the starting position for the match, valid for buffer
@@ -329,7 +329,7 @@ public abstract class StrMatcher {
         }
 
         /**
-         * Returns whether or not the given character matches.
+         * Returns {@code 1} if there is a match, or {@code 0} if there is no 
match.
          *
          * @param buffer  the text content to match against, do not change
          * @param pos  the starting position for the match, valid for buffer
@@ -362,7 +362,7 @@ public abstract class StrMatcher {
         }
 
         /**
-         * Returns whether or not the given text matches the stored string.
+         * Returns the number of matching characters, or zero if there is no 
match.
          *
          * @param buffer  the text content to match against, do not change
          * @param pos  the starting position for the match, valid for buffer
@@ -405,7 +405,7 @@ public abstract class StrMatcher {
         }
 
         /**
-         * Always returns {@code false}.
+         * Always returns {@code 0}.
          *
          * @param buffer  the text content to match against, do not change
          * @param pos  the starting position for the match, valid for buffer

Reply via email to