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 2da8175 Close HTML tags.
2da8175 is described below
commit 2da8175afbb1c575a2e354eeff598e1446509af7
Author: Gary Gregory <[email protected]>
AuthorDate: Wed Dec 11 11:11:08 2019 -0500
Close HTML tags.
---
src/main/java/org/apache/commons/text/matcher/StringMatcher.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/main/java/org/apache/commons/text/matcher/StringMatcher.java
b/src/main/java/org/apache/commons/text/matcher/StringMatcher.java
index 27454c1..b0569f9 100644
--- a/src/main/java/org/apache/commons/text/matcher/StringMatcher.java
+++ b/src/main/java/org/apache/commons/text/matcher/StringMatcher.java
@@ -30,15 +30,19 @@ public interface StringMatcher {
* This method is called to check for a match. The parameter {@code pos}
represents the current position to be
* checked in the string {@code buffer} (a character array which must not
be changed). The API guarantees that
* {@code pos} is a valid index for {@code buffer}.
+ * </p>
* <p>
* The character array may be larger than the active area to be matched.
Only values in the buffer between the
* specified indices may be accessed.
+ * </p>
* <p>
* The matching code may check one character or many. It may check
characters preceding {@code pos} as well as
* those after, so long as no checks exceed the bounds specified.
+ * </p>
* <p>
* It must return zero for no match, or a positive number if a match was
found. The number indicates the number of
* characters that matched.
+ * </p>
*
* @param buffer
* the text content to match against, do not change