LANG-1314: Fix javadoc creation on with Java 8 Fix StirngUtils </p> tags in javadoc
The paragraph </p>Whitespace is defined by {@link Character#isWhitespace(char)}.</p> appears in several places in the javadoc (presumably, copy-pasted from the original one to the others). This is obviously a mistake, as a paragraph should start with <p>, not with </p>. This patch fixes all the occurrences of this paragraph to the proper form: <p>Whitespace is defined by {@link Character#isWhitespace(char)}.</p> Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/0f5c769e Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/0f5c769e Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/0f5c769e Branch: refs/heads/master Commit: 0f5c769e0c27a5f31a3451aa7372048bed08e9f7 Parents: a0f9db2 Author: pascalschumacher <pascalschumac...@gmx.net> Authored: Mon Mar 6 19:22:49 2017 +0100 Committer: pascalschumacher <pascalschumac...@gmx.net> Committed: Mon Mar 6 19:27:36 2017 +0100 ---------------------------------------------------------------------- .../java/org/apache/commons/lang3/StringUtils.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-lang/blob/0f5c769e/src/main/java/org/apache/commons/lang3/StringUtils.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/lang3/StringUtils.java b/src/main/java/org/apache/commons/lang3/StringUtils.java index 8049850..a92c4df 100644 --- a/src/main/java/org/apache/commons/lang3/StringUtils.java +++ b/src/main/java/org/apache/commons/lang3/StringUtils.java @@ -313,7 +313,7 @@ public class StringUtils { /** * <p>Checks if a CharSequence is empty (""), null or whitespace only.</p> * - * </p>Whitespace is defined by {@link Character#isWhitespace(char)}.</p> + * <p>Whitespace is defined by {@link Character#isWhitespace(char)}.</p> * * <pre> * StringUtils.isBlank(null) = true @@ -344,7 +344,7 @@ public class StringUtils { /** * <p>Checks if a CharSequence is not empty (""), not null and not whitespace only.</p> * - * </p>Whitespace is defined by {@link Character#isWhitespace(char)}.</p> + * <p>Whitespace is defined by {@link Character#isWhitespace(char)}.</p> * * <pre> * StringUtils.isNotBlank(null) = false @@ -367,7 +367,7 @@ public class StringUtils { /** * <p>Checks if any of the CharSequences are empty ("") or null or whitespace only.</p> * - * </p>Whitespace is defined by {@link Character#isWhitespace(char)}.</p> + * <p>Whitespace is defined by {@link Character#isWhitespace(char)}.</p> * * <pre> * StringUtils.isAnyBlank(null) = true @@ -400,7 +400,7 @@ public class StringUtils { /** * <p>Checks if any of the CharSequences are not empty (""), not null and not whitespace only.</p> * - * </p>Whitespace is defined by {@link Character#isWhitespace(char)}.</p> + * <p>Whitespace is defined by {@link Character#isWhitespace(char)}.</p> * * <pre> * StringUtils.isAnyNotBlank(null) = false @@ -433,7 +433,7 @@ public class StringUtils { /** * <p>Checks if none of the CharSequences are empty (""), null or whitespace only.</p> * - * </p>Whitespace is defined by {@link Character#isWhitespace(char)}.</p> + * <p>Whitespace is defined by {@link Character#isWhitespace(char)}.</p> * * <pre> * StringUtils.isNoneBlank(null) = false @@ -1943,7 +1943,7 @@ public class StringUtils { /** * <p>Check whether the given CharSequence contains any whitespace characters.</p> * - * </p>Whitespace is defined by {@link Character#isWhitespace(char)}.</p> + * <p>Whitespace is defined by {@link Character#isWhitespace(char)}.</p> * * @param seq the CharSequence to check (may be {@code null}) * @return {@code true} if the CharSequence is not empty and @@ -7089,7 +7089,7 @@ public class StringUtils { /** * <p>Checks if the CharSequence contains only whitespace.</p> * - * </p>Whitespace is defined by {@link Character#isWhitespace(char)}.</p> + * <p>Whitespace is defined by {@link Character#isWhitespace(char)}.</p> * * <p>{@code null} will return {@code false}. * An empty CharSequence (length()=0) will return {@code true}.</p> @@ -7238,7 +7238,7 @@ public class StringUtils { * <p>Returns either the passed in CharSequence, or if the CharSequence is * whitespace, empty ("") or {@code null}, the value of {@code defaultStr}.</p> * - * </p>Whitespace is defined by {@link Character#isWhitespace(char)}.</p> + * <p>Whitespace is defined by {@link Character#isWhitespace(char)}.</p> * * <pre> * StringUtils.defaultIfBlank(null, "NULL") = "NULL"