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 afac607a Javadoc and comments: Use an HTTPS URL afac607a is described below commit afac607a1b26c1655b56941464e81bbad18abdec Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sun Jan 14 11:17:11 2024 -0500 Javadoc and comments: Use an HTTPS URL --- .../java/org/apache/commons/text/StringEscapeUtils.java | 14 +++++++------- .../org/apache/commons/text/similarity/CosineDistance.java | 2 +- .../apache/commons/text/similarity/CosineSimilarity.java | 2 +- .../org/apache/commons/text/similarity/EditDistance.java | 2 +- .../apache/commons/text/similarity/HammingDistance.java | 2 +- .../commons/text/similarity/JaroWinklerSimilarity.java | 4 ++-- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/main/java/org/apache/commons/text/StringEscapeUtils.java b/src/main/java/org/apache/commons/text/StringEscapeUtils.java index 347cd5fa..355a17dc 100644 --- a/src/main/java/org/apache/commons/text/StringEscapeUtils.java +++ b/src/main/java/org/apache/commons/text/StringEscapeUtils.java @@ -342,7 +342,7 @@ public class StringEscapeUtils { /** * Translator object for escaping Shell command language. * - * @see <a href="http://pubs.opengroup.org/onlinepubs/7908799/xcu/chap2.html">Shell Command Language</a> + * @see <a href="https://pubs.opengroup.org/onlinepubs/7908799/xcu/chap2.html">Shell Command Language</a> */ public static final CharSequenceTranslator ESCAPE_XSI; static { @@ -500,8 +500,8 @@ public class StringEscapeUtils { * <p>If the value does not contain a comma, newline or double quote, then the * String value is returned unchanged.</p> * - * see <a href="http://en.wikipedia.org/wiki/Comma-separated_values">Wikipedia</a> and - * <a href="http://tools.ietf.org/html/rfc4180">RFC 4180</a>. + * see <a href="https://en.wikipedia.org/wiki/Comma-separated_values">Wikipedia</a> and + * <a href="https://tools.ietf.org/html/rfc4180">RFC 4180</a>. * * @param input the input CSV column String, may be null * @return The input String, enclosed in double quotes if the value contains a comma, @@ -577,7 +577,7 @@ public class StringEscapeUtils { * @param input the {@code String} to escape, may be null * @return a new escaped {@code String}, {@code null} if null string input * - * @see <a href="http://hotwired.lycos.com/webmonkey/reference/special_characters/">ISO Entities</a> + * @see <a href="https://hotwired.lycos.com/webmonkey/reference/special_characters/">ISO Entities</a> * @see <a href="http://www.w3.org/TR/REC-html32#latin1">HTML 3.2 Character Entities for ISO Latin-1</a> * @see <a href="http://www.w3.org/TR/REC-html40/sgml/entities.html">HTML 4.0 Character entity references</a> * @see <a href="http://www.w3.org/TR/html401/charset.html#h-5.3">HTML 4.01 Character References</a> @@ -712,7 +712,7 @@ public class StringEscapeUtils { * output string: He\ didn\'t\ say,\ \"Stop!\" * </pre> * - * @see <a href="http://pubs.opengroup.org/onlinepubs/7908799/xcu/chap2.html">Shell Command Language</a> + * @see <a href="https://pubs.opengroup.org/onlinepubs/7908799/xcu/chap2.html">Shell Command Language</a> * @param input String to escape values in, may be null * @return String with escaped values, {@code null} if null string input */ @@ -733,8 +733,8 @@ public class StringEscapeUtils { * <p>If the value is not enclosed in double quotes, or is and does not contain a * comma, newline or double quote, then the String value is returned unchanged.</p> * - * see <a href="http://en.wikipedia.org/wiki/Comma-separated_values">Wikipedia</a> and - * <a href="http://tools.ietf.org/html/rfc4180">RFC 4180</a>. + * see <a href="https://en.wikipedia.org/wiki/Comma-separated_values">Wikipedia</a> and + * <a href="https://tools.ietf.org/html/rfc4180">RFC 4180</a>. * * @param input the input CSV column String, may be null * @return The input String, with enclosing double quotes removed and embedded double diff --git a/src/main/java/org/apache/commons/text/similarity/CosineDistance.java b/src/main/java/org/apache/commons/text/similarity/CosineDistance.java index 807d446e..093800b1 100644 --- a/src/main/java/org/apache/commons/text/similarity/CosineDistance.java +++ b/src/main/java/org/apache/commons/text/similarity/CosineDistance.java @@ -27,7 +27,7 @@ import java.util.Map; * * <p> * For further explanation about Cosine Similarity and Cosine Distance, refer to - * http://en.wikipedia.org/wiki/Cosine_similarity. + * https://en.wikipedia.org/wiki/Cosine_similarity. * </p> * * @since 1.0 diff --git a/src/main/java/org/apache/commons/text/similarity/CosineSimilarity.java b/src/main/java/org/apache/commons/text/similarity/CosineSimilarity.java index 54b428f3..ea99c9af 100644 --- a/src/main/java/org/apache/commons/text/similarity/CosineSimilarity.java +++ b/src/main/java/org/apache/commons/text/similarity/CosineSimilarity.java @@ -23,7 +23,7 @@ import java.util.Set; /** * Measures the Cosine similarity of two vectors of an inner product space and compares the angle between them. * <p> - * For further explanation about the Cosine Similarity, refer to http://en.wikipedia.org/wiki/Cosine_similarity. + * For further explanation about the Cosine Similarity, refer to https://en.wikipedia.org/wiki/Cosine_similarity. * </p> * <p> * Instances of this class are immutable and are safe for use by multiple concurrent threads. diff --git a/src/main/java/org/apache/commons/text/similarity/EditDistance.java b/src/main/java/org/apache/commons/text/similarity/EditDistance.java index d330f78b..c2d7dd22 100644 --- a/src/main/java/org/apache/commons/text/similarity/EditDistance.java +++ b/src/main/java/org/apache/commons/text/similarity/EditDistance.java @@ -17,7 +17,7 @@ package org.apache.commons.text.similarity; /** - * Interface for <a href="http://en.wikipedia.org/wiki/Edit_distance">Edit Distances</a>. + * Interface for <a href="https://en.wikipedia.org/wiki/Edit_distance">Edit Distances</a>. * * <p> * An edit distance is a formal metric on the Kleene closure ({@code X<sup>*</sup>}) over an diff --git a/src/main/java/org/apache/commons/text/similarity/HammingDistance.java b/src/main/java/org/apache/commons/text/similarity/HammingDistance.java index 183fbd97..0d48e6dd 100644 --- a/src/main/java/org/apache/commons/text/similarity/HammingDistance.java +++ b/src/main/java/org/apache/commons/text/similarity/HammingDistance.java @@ -22,7 +22,7 @@ package org.apache.commons.text.similarity; * * <p> * For further explanation about the Hamming Distance, take a look at its - * Wikipedia page at http://en.wikipedia.org/wiki/Hamming_distance. + * Wikipedia page at https://en.wikipedia.org/wiki/Hamming_distance. * </p> * * @since 1.0 diff --git a/src/main/java/org/apache/commons/text/similarity/JaroWinklerSimilarity.java b/src/main/java/org/apache/commons/text/similarity/JaroWinklerSimilarity.java index b2e27315..e46af7b8 100644 --- a/src/main/java/org/apache/commons/text/similarity/JaroWinklerSimilarity.java +++ b/src/main/java/org/apache/commons/text/similarity/JaroWinklerSimilarity.java @@ -31,8 +31,8 @@ import org.apache.commons.lang3.StringUtils; * * <p> * This implementation is based on the Jaro Winkler similarity algorithm - * from <a href="http://en.wikipedia.org/wiki/Jaro%E2%80%93Winkler_distance"> - * http://en.wikipedia.org/wiki/Jaro%E2%80%93Winkler_distance</a>. + * from <a href="https://en.wikipedia.org/wiki/Jaro%E2%80%93Winkler_distance"> + * https://en.wikipedia.org/wiki/Jaro%E2%80%93Winkler_distance</a>. * </p> * * <p>