Skip to content

Commit 7c7a06a

Browse files
committed
Use HTTPS in URL
1 parent af3e2bf commit 7c7a06a

File tree

6 files changed

+26
-26
lines changed

6 files changed

+26
-26
lines changed

src/main/java/org/apache/commons/text/StringEscapeUtils.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -576,10 +576,10 @@ public static String escapeHtml3(final String input) {
576576
* @param input the {@code String} to escape, may be null
577577
* @return a new escaped {@code String}, {@code null} if null string input
578578
* @see <a href="https://hotwired.lycos.com/webmonkey/reference/special_characters/">ISO Entities</a>
579-
* @see <a href="http://www.w3.org/TR/REC-html32#latin1">HTML 3.2 Character Entities for ISO Latin-1</a>
580-
* @see <a href="http://www.w3.org/TR/REC-html40/sgml/entities.html">HTML 4.0 Character entity references</a>
581-
* @see <a href="http://www.w3.org/TR/html401/charset.html#h-5.3">HTML 4.01 Character References</a>
582-
* @see <a href="http://www.w3.org/TR/html401/charset.html#code-position">HTML 4.01 Code positions</a>
579+
* @see <a href="https://www.w3.org/TR/REC-html32#latin1">HTML 3.2 Character Entities for ISO Latin-1</a>
580+
* @see <a href="https://www.w3.org/TR/REC-html40/sgml/entities.html">HTML 4.0 Character entity references</a>
581+
* @see <a href="https://www.w3.org/TR/html401/charset.html#h-5.3">HTML 4.01 Character References</a>
582+
* @see <a href="https://www.w3.org/TR/html401/charset.html#code-position">HTML 4.01 Code positions</a>
583583
*/
584584
public static String escapeHtml4(final String input) {
585585
return ESCAPE_HTML4.translate(input);

src/main/java/org/apache/commons/text/diff/StringsComparator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
* <p>
3636
* This class implements the comparison algorithm, which is the very efficient
3737
* algorithm from Eugene W. Myers
38-
* <a href="http://www.cis.upenn.edu/~bcpierce/courses/dd/papers/diff.ps">
38+
* <a href="https://www.cis.upenn.edu/~bcpierce/courses/dd/papers/diff.ps">
3939
* An O(ND) Difference Algorithm and Its Variations</a>. This algorithm produces
4040
* the shortest possible {@link EditScript edit script} containing all the
4141
* {@link EditCommand commands} needed to transform the first sequence into
@@ -220,7 +220,7 @@ private Snake buildSnake(final int start, final int diag, final int end1, final
220220
* The snake is found using the MYERS Algorithm (this algorithms has
221221
* also been implemented in the GNU diff program). This algorithm is
222222
* explained in Eugene Myers article:
223-
* <a href="http://www.cs.arizona.edu/people/gene/PAPERS/diff.ps">
223+
* <a href="https://www.cs.arizona.edu/people/gene/PAPERS/diff.ps">
224224
* An O(ND) Difference Algorithm and Its Variations</a>.
225225
* </p>
226226
*

src/main/java/org/apache/commons/text/similarity/LevenshteinDetailedDistance.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public static LevenshteinDetailedDistance getDefaultInstance() {
132132
*
133133
* <p>
134134
* This implementation follows from Algorithms on Strings, Trees and Sequences by Dan Gusfield and Chas Emerick's implementation of the Levenshtein distance
135-
* algorithm from <a href="http://www.merriampark.com/ld.htm" >http://www.merriampark.com/ld.htm</a>
135+
* algorithm from <a href="https://www.merriampark.com/ld.htm" >http://www.merriampark.com/ld.htm</a>
136136
* </p>
137137
*
138138
* <pre>
@@ -274,14 +274,14 @@ private static <E> LevenshteinResults limitedCompare(SimilarityInput<E> left, Si
274274
*
275275
* <p>
276276
* The previous implementation of the Levenshtein distance algorithm was from
277-
* <a href="http://www.merriampark.com/ld.htm">http://www.merriampark.com/ld.htm</a>
277+
* <a href="https://www.merriampark.com/ld.htm">http://www.merriampark.com/ld.htm</a>
278278
* </p>
279279
*
280280
* <p>
281281
* Chas Emerick has written an implementation in Java, which avoids an OutOfMemoryError which can occur when my Java implementation is used with very large
282282
* strings.<br>
283283
* This implementation of the Levenshtein distance algorithm is from
284-
* <a href="http://www.merriampark.com/ldjava.htm">http://www.merriampark.com/ldjava.htm</a>
284+
* <a href="https://www.merriampark.com/ldjava.htm">http://www.merriampark.com/ldjava.htm</a>
285285
* </p>
286286
*
287287
* <pre>
@@ -417,14 +417,14 @@ public LevenshteinDetailedDistance(final Integer threshold) {
417417
*
418418
* <p>
419419
* The previous implementation of the Levenshtein distance algorithm was from
420-
* <a href="http://www.merriampark.com/ld.htm">http://www.merriampark.com/ld.htm</a>
420+
* <a href="https://www.merriampark.com/ld.htm">http://www.merriampark.com/ld.htm</a>
421421
* </p>
422422
*
423423
* <p>
424424
* Chas Emerick has written an implementation in Java, which avoids an OutOfMemoryError which can occur when my Java implementation is used with very large
425425
* strings.<br>
426426
* This implementation of the Levenshtein distance algorithm is from
427-
* <a href="http://www.merriampark.com/ldjava.htm">http://www.merriampark.com/ldjava.htm</a>
427+
* <a href="https://www.merriampark.com/ldjava.htm">http://www.merriampark.com/ldjava.htm</a>
428428
* </p>
429429
*
430430
* <pre>
@@ -460,14 +460,14 @@ public LevenshteinResults apply(final CharSequence left, final CharSequence righ
460460
*
461461
* <p>
462462
* The previous implementation of the Levenshtein distance algorithm was from
463-
* <a href="http://www.merriampark.com/ld.htm">http://www.merriampark.com/ld.htm</a>
463+
* <a href="https://www.merriampark.com/ld.htm">http://www.merriampark.com/ld.htm</a>
464464
* </p>
465465
*
466466
* <p>
467467
* Chas Emerick has written an implementation in Java, which avoids an OutOfMemoryError which can occur when my Java implementation is used with very large
468468
* strings.<br>
469469
* This implementation of the Levenshtein distance algorithm is from
470-
* <a href="http://www.merriampark.com/ldjava.htm">http://www.merriampark.com/ldjava.htm</a>
470+
* <a href="https://www.merriampark.com/ldjava.htm">http://www.merriampark.com/ldjava.htm</a>
471471
* </p>
472472
*
473473
* <pre>

src/main/java/org/apache/commons/text/similarity/LevenshteinDistance.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public static LevenshteinDistance getDefaultInstance() {
5555
*
5656
* <p>
5757
* This implementation follows from Algorithms on Strings, Trees and Sequences by Dan Gusfield and Chas Emerick's implementation of the Levenshtein distance
58-
* algorithm from <a href="http://www.merriampark.com/ld.htm">http://www.merriampark.com/ld.htm</a>
58+
* algorithm from <a href="https://www.merriampark.com/ld.htm">http://www.merriampark.com/ld.htm</a>
5959
* </p>
6060
*
6161
* <pre>
@@ -324,14 +324,14 @@ public LevenshteinDistance(final Integer threshold) {
324324
*
325325
* <p>
326326
* The previous implementation of the Levenshtein distance algorithm was from
327-
* <a href="http://www.merriampark.com/ld.htm">http://www.merriampark.com/ld.htm</a>
327+
* <a href="https://www.merriampark.com/ld.htm">http://www.merriampark.com/ld.htm</a>
328328
* </p>
329329
*
330330
* <p>
331331
* Chas Emerick has written an implementation in Java, which avoids an OutOfMemoryError which can occur when my Java implementation is used with very large
332332
* strings.<br>
333333
* This implementation of the Levenshtein distance algorithm is from
334-
* <a href="http://www.merriampark.com/ldjava.htm">http://www.merriampark.com/ldjava.htm</a>
334+
* <a href="https://www.merriampark.com/ldjava.htm">http://www.merriampark.com/ldjava.htm</a>
335335
* </p>
336336
*
337337
* <pre>

src/main/java/org/apache/commons/text/translate/EntityArrays.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public class EntityArrays {
150150

151151
/**
152152
* A Map&lt;CharSequence, CharSequence&gt; to escape additional
153-
* <a href="http://www.w3.org/TR/REC-html40/sgml/entities.html">character entity
153+
* <a href="https://www.w3.org/TR/REC-html40/sgml/entities.html">character entity
154154
* references</a>. Note that this must be used with {@link #ISO8859_1_ESCAPE} to get the full list of
155155
* HTML 4.0 character entities.
156156
*/

src/site/xdoc/userguide.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -88,24 +88,24 @@ limitations under the License.
8888
</pre>
8989
</p>
9090
<p>
91-
For details see <a href="http://commons.apache.org/proper/commons-text/apidocs/org/apache/commons/text/StringSubstitutor.html">StringSubstitutor</a>.
91+
For details see <a href="https://commons.apache.org/proper/commons-text/apidocs/org/apache/commons/text/StringSubstitutor.html">StringSubstitutor</a>.
9292
</p>
9393
<p>
94-
Use a <a href="http://commons.apache.org/proper/commons-text/apidocs/org/apache/commons/text/io/StringSubstitutorReader.html">StringSubstitutorReader</a>
94+
Use a <a href="https://commons.apache.org/proper/commons-text/apidocs/org/apache/commons/text/io/StringSubstitutorReader.html">StringSubstitutorReader</a>
9595
to avoid reading a whole file into memory as a <code>String</code> to perform string substitution, for example, when a Servlet filters a file to a client.
9696
</p>
9797
<p>
9898
To build a default full-featured substitutor, use:
9999
</p>
100100
<ul>
101101
<li>Commons Text &gt;= 1.8:
102-
<a href="http://commons.apache.org/proper/commons-text/apidocs/org/apache/commons/text/StringSubstitutor.html">org.apache.commons.text.StringSubstitutor.createInterpolator()</a></li>
102+
<a href="https://commons.apache.org/proper/commons-text/apidocs/org/apache/commons/text/StringSubstitutor.html">org.apache.commons.text.StringSubstitutor.createInterpolator()</a></li>
103103
<li>Commons Text &lt; 1.8:
104-
<a href="http://commons.apache.org/proper/commons-text/apidocs/org/apache/commons/text/StringSubstitutor.html">new StringSubstitutor(StringLookupFactory.INSTANCE.interpolatorStringLookup())</a></li>
104+
<a href="https://commons.apache.org/proper/commons-text/apidocs/org/apache/commons/text/StringSubstitutor.html">new StringSubstitutor(StringLookupFactory.INSTANCE.interpolatorStringLookup())</a></li>
105105
</ul>
106106
<p>
107107
The available substitutions are defined in
108-
<a href="http://commons.apache.org/proper/commons-text/apidocs/org/apache/commons/text/lookup/StringLookupFactory.html">org.apache.commons.text.lookup.StringLookupFactory</a>.
108+
<a href="https://commons.apache.org/proper/commons-text/apidocs/org/apache/commons/text/lookup/StringLookupFactory.html">org.apache.commons.text.lookup.StringLookupFactory</a>.
109109
</p>
110110
</subsection>
111111

@@ -180,19 +180,19 @@ limitations under the License.
180180

181181
<section name="Package org.apache.commons.text.lookup">
182182
<p>Provides algorithms for looking up strings used by a
183-
<a href="http://commons.apache.org/proper/commons-text/apidocs/org/apache/commons/text/StringSubstitutor.html">StringSubstitutor</a>.
183+
<a href="https://commons.apache.org/proper/commons-text/apidocs/org/apache/commons/text/StringSubstitutor.html">StringSubstitutor</a>.
184184
Standard lookups are defined in
185-
<a href="http://commons.apache.org/proper/commons-text/apidocs/org/apache/commons/text/lookup/StringLookupFactory.html">StringLookupFactory</a>
185+
<a href="https://commons.apache.org/proper/commons-text/apidocs/org/apache/commons/text/lookup/StringLookupFactory.html">StringLookupFactory</a>
186186
and the associated
187-
<a href="http://commons.apache.org/proper/commons-text/apidocs/org/apache/commons/text/lookup/DefaultStringLookup.html">DefaultStringLookup</a>
187+
<a href="https://commons.apache.org/proper/commons-text/apidocs/org/apache/commons/text/lookup/DefaultStringLookup.html">DefaultStringLookup</a>
188188
enum.
189189
</p>
190190
<p>
191191
The example below demonstrates use of the default lookups for <code>StringSubstitutor</code> in order to
192192
construct a complex string.
193193
</p>
194194
<p><strong>NOTE:</strong> The list of lookups available by default changed in version 1.10.0. See the documentation for
195-
<a href="http://commons.apache.org/proper/commons-text/apidocs/org/apache/commons/text/lookup/StringLookupFactory.html">StringLookupFactory</a>
195+
<a href="https://commons.apache.org/proper/commons-text/apidocs/org/apache/commons/text/lookup/StringLookupFactory.html">StringLookupFactory</a>
196196
for details and instructions on how to reproduce the previous behavior.
197197
</p>
198198
<source>

0 commit comments

Comments
 (0)