You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by pa...@apache.org on 2018/05/05 12:00:25 UTC
[text] Fix Javadoc errors reported by Java 11.
Repository: commons-text
Updated Branches:
refs/heads/master 2e02b23c0 -> c0b401d12
Fix Javadoc errors reported by Java 11.
Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/c0b401d1
Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/c0b401d1
Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/c0b401d1
Branch: refs/heads/master
Commit: c0b401d129d664ab94ee325ae6da3445cb8470fb
Parents: 2e02b23
Author: Pascal Schumacher <pa...@gmx.net>
Authored: Sat May 5 14:00:16 2018 +0200
Committer: Pascal Schumacher <pa...@gmx.net>
Committed: Sat May 5 14:00:16 2018 +0200
----------------------------------------------------------------------
src/main/java/org/apache/commons/text/StrTokenizer.java | 6 ++----
src/main/java/org/apache/commons/text/StringTokenizer.java | 6 ++----
src/main/java/org/apache/commons/text/WordUtils.java | 9 ++++++---
3 files changed, 10 insertions(+), 11 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-text/blob/c0b401d1/src/main/java/org/apache/commons/text/StrTokenizer.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/text/StrTokenizer.java b/src/main/java/org/apache/commons/text/StrTokenizer.java
index ea947f0..563ecb8 100644
--- a/src/main/java/org/apache/commons/text/StrTokenizer.java
+++ b/src/main/java/org/apache/commons/text/StrTokenizer.java
@@ -54,11 +54,9 @@ import java.util.NoSuchElementException;
* " a, b , c " - Three tokens "a","b","c" (default CSV processing trims whitespace)
* "a, ", b ,", c" - Three tokens "a, " , " b ", ", c" (quoted text untouched)
* </pre>
- * <p>
- *
- * This tokenizer has the following properties and options:
*
- * <table summary="Tokenizer Properties">
+ * <table>
+ * <caption>StrTokenizer properties and options</caption>
* <tr>
* <th>Property</th><th>Type</th><th>Default</th>
* </tr>
http://git-wip-us.apache.org/repos/asf/commons-text/blob/c0b401d1/src/main/java/org/apache/commons/text/StringTokenizer.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/text/StringTokenizer.java b/src/main/java/org/apache/commons/text/StringTokenizer.java
index aaea4fb..395375a 100644
--- a/src/main/java/org/apache/commons/text/StringTokenizer.java
+++ b/src/main/java/org/apache/commons/text/StringTokenizer.java
@@ -51,11 +51,9 @@ import org.apache.commons.text.matcher.StringMatcherFactory;
* " a, b , c " - Three tokens "a","b","c" (default CSV processing trims whitespace)
* "a, ", b ,", c" - Three tokens "a, " , " b ", ", c" (quoted text untouched)
* </pre>
- * <p>
- *
- * This tokenizer has the following properties and options:
*
- * <table summary="Tokenizer Properties">
+ * <table>
+ * <caption>StringTokenizer properties and options</caption>
* <tr>
* <th>Property</th>
* <th>Type</th>
http://git-wip-us.apache.org/repos/asf/commons-text/blob/c0b401d1/src/main/java/org/apache/commons/text/WordUtils.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/text/WordUtils.java b/src/main/java/org/apache/commons/text/WordUtils.java
index 21b504e..259bde3 100644
--- a/src/main/java/org/apache/commons/text/WordUtils.java
+++ b/src/main/java/org/apache/commons/text/WordUtils.java
@@ -62,7 +62,8 @@ public class WordUtils {
* <p>Leading spaces on a new line are stripped.
* Trailing spaces are not stripped.</p>
*
- * <table border="1" summary="Wrap Results">
+ * <table border="1">
+ * <caption>Examples</caption>
* <tr>
* <th>input</th>
* <th>wrapLength</th>
@@ -111,7 +112,8 @@ public class WordUtils {
* <p>Leading spaces on a new line are stripped.
* Trailing spaces are not stripped.</p>
*
- * <table border="1" summary="Wrap Results">
+ * <table border="1">
+ * <caption>Examples</caption>
* <tr>
* <th>input</th>
* <th>wrapLength</th>
@@ -192,7 +194,8 @@ public class WordUtils {
* <p>Leading spaces on a new line are stripped.
* Trailing spaces are not stripped.</p>
*
- * <table border="1" summary="Wrap Results">
+ * <table border="1">
+ * <caption>Examples</caption>
* <tr>
* <th>input</th>
* <th>wrapLength</th>