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-codec.git
The following commit(s) were added to refs/heads/master by this push: new 0ad8c8b9 Javadoc and comments: Use an HTTPS URL 0ad8c8b9 is described below commit 0ad8c8b9f410451c58ed2d6708feb139e5dd3310 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sun Jan 14 10:49:50 2024 -0500 Javadoc and comments: Use an HTTPS URL --- .../java/org/apache/commons/codec/binary/Base64Test.java | 10 +++++----- .../java/org/apache/commons/codec/digest/XXHash32Test.java | 2 +- .../org/apache/commons/codec/language/Caverphone1Test.java | 8 ++++---- .../org/apache/commons/codec/language/Caverphone2Test.java | 12 ++++++------ .../commons/codec/language/DaitchMokotoffSoundexTest.java | 2 +- .../apache/commons/codec/language/DoubleMetaphone2Test.java | 4 ++-- .../apache/commons/codec/language/DoubleMetaphoneTest.java | 2 +- .../apache/commons/codec/language/RefinedSoundexTest.java | 4 ++-- .../java/org/apache/commons/codec/language/SoundexTest.java | 12 ++++++------ .../codec/language/bm/PhoneticEngineRegressionTest.java | 2 +- 10 files changed, 29 insertions(+), 29 deletions(-) diff --git a/src/test/java/org/apache/commons/codec/binary/Base64Test.java b/src/test/java/org/apache/commons/codec/binary/Base64Test.java index a6525d5a..7919ea88 100644 --- a/src/test/java/org/apache/commons/codec/binary/Base64Test.java +++ b/src/test/java/org/apache/commons/codec/binary/Base64Test.java @@ -788,7 +788,7 @@ public class Base64Test { * <li>BASE64("foobar") = "Zm9vYmFy"</li> * </ul> * - * @see <a href="http://tools.ietf.org/html/rfc4648">http://tools.ietf.org/ + * @see <a href="https://tools.ietf.org/html/rfc4648">https://tools.ietf.org/ * html/rfc4648</a> */ @Test @@ -814,7 +814,7 @@ public class Base64Test { * <li>BASE64("foobar") = "Zm9vYmFy"</li> * </ul> * - * @see <a href="http://tools.ietf.org/html/rfc4648">http://tools.ietf.org/ + * @see <a href="https://tools.ietf.org/html/rfc4648">https://tools.ietf.org/ * html/rfc4648</a> */ @Test @@ -840,7 +840,7 @@ public class Base64Test { * <li>BASE64("foobar") = "Zm9vYmFy"</li> * </ul> * - * @see <a href="http://tools.ietf.org/html/rfc4648">http://tools.ietf.org/ + * @see <a href="https://tools.ietf.org/html/rfc4648">https://tools.ietf.org/ * html/rfc4648</a> */ @Test @@ -867,7 +867,7 @@ public class Base64Test { * <li>BASE64("foobar") = "Zm9vYmFy"</li> * </ul> * - * @see <a href="http://tools.ietf.org/html/rfc4648">http://tools.ietf.org/ + * @see <a href="https://tools.ietf.org/html/rfc4648">https://tools.ietf.org/ * html/rfc4648</a> */ @Test @@ -893,7 +893,7 @@ public class Base64Test { * <li>BASE64("foobar") = "Zm9vYmFy"</li> * </ul> * - * @see <a href="http://tools.ietf.org/html/rfc4648">http://tools.ietf.org/ + * @see <a href="https://tools.ietf.org/html/rfc4648">https://tools.ietf.org/ * html/rfc4648</a> */ @Test diff --git a/src/test/java/org/apache/commons/codec/digest/XXHash32Test.java b/src/test/java/org/apache/commons/codec/digest/XXHash32Test.java index ac4faa85..fe5540c4 100644 --- a/src/test/java/org/apache/commons/codec/digest/XXHash32Test.java +++ b/src/test/java/org/apache/commons/codec/digest/XXHash32Test.java @@ -50,7 +50,7 @@ public class XXHash32Test { // @formatter:off return Stream.of( // reference checksums created with xxh32sum - // http://cyan4973.github.io/xxHash/ + // https://cyan4973.github.io/xxHash/ Arguments.of("org/apache/commons/codec/bla.tar", "fbb5c8d1"), Arguments.of("org/apache/commons/codec/bla.tar.xz", "4106a208"), Arguments.of("org/apache/commons/codec/small.bin", "f66c26f8") diff --git a/src/test/java/org/apache/commons/codec/language/Caverphone1Test.java b/src/test/java/org/apache/commons/codec/language/Caverphone1Test.java index fcf1a157..26a0c338 100644 --- a/src/test/java/org/apache/commons/codec/language/Caverphone1Test.java +++ b/src/test/java/org/apache/commons/codec/language/Caverphone1Test.java @@ -37,7 +37,7 @@ public class Caverphone1Test extends AbstractStringEncoderTest<Caverphone1> { } /** - * Tests example adapted from version 2.0 http://caversham.otago.ac.nz/files/working/ctp150804.pdf + * Tests example adapted from version 2.0 https://caversham.otago.ac.nz/files/working/ctp150804.pdf * * AT1111 words: add, aid, at, art, eat, earth, head, hit, hot, hold, hard, heart, it, out, old * @@ -70,7 +70,7 @@ public class Caverphone1Test extends AbstractStringEncoderTest<Caverphone1> { } /** - * Tests some examples from version 2.0 http://caversham.otago.ac.nz/files/working/ctp150804.pdf + * Tests some examples from version 2.0 https://caversham.otago.ac.nz/files/working/ctp150804.pdf * * @throws EncoderException for some failure scenarios. */ @@ -82,7 +82,7 @@ public class Caverphone1Test extends AbstractStringEncoderTest<Caverphone1> { } /** - * Tests example from http://caversham.otago.ac.nz/files/working/ctp060902.pdf + * Tests example from https://caversham.otago.ac.nz/files/working/ctp060902.pdf * * @throws EncoderException for some failure scenarios. */ @@ -93,7 +93,7 @@ public class Caverphone1Test extends AbstractStringEncoderTest<Caverphone1> { } /** - * Tests examples from http://en.wikipedia.org/wiki/Caverphone + * Tests examples from https://en.wikipedia.org/wiki/Caverphone * * @throws EncoderException for some failure scenarios. */ diff --git a/src/test/java/org/apache/commons/codec/language/Caverphone2Test.java b/src/test/java/org/apache/commons/codec/language/Caverphone2Test.java index bb1525b3..fd55d2e7 100644 --- a/src/test/java/org/apache/commons/codec/language/Caverphone2Test.java +++ b/src/test/java/org/apache/commons/codec/language/Caverphone2Test.java @@ -37,7 +37,7 @@ public class Caverphone2Test extends AbstractStringEncoderTest<Caverphone2> { } /** - * See http://caversham.otago.ac.nz/files/working/ctp150804.pdf + * See https://caversham.otago.ac.nz/files/working/ctp150804.pdf * * AT11111111 words: add, aid, at, art, eat, earth, head, hit, hot, hold, hard, heart, it, out, old * @@ -63,7 +63,7 @@ public class Caverphone2Test extends AbstractStringEncoderTest<Caverphone2> { } /** - * See http://caversham.otago.ac.nz/files/working/ctp150804.pdf + * See https://caversham.otago.ac.nz/files/working/ctp150804.pdf * * @throws EncoderException for some failure scenarios */ @Test @@ -73,7 +73,7 @@ public class Caverphone2Test extends AbstractStringEncoderTest<Caverphone2> { } /** - * See http://caversham.otago.ac.nz/files/working/ctp150804.pdf + * See https://caversham.otago.ac.nz/files/working/ctp150804.pdf * * @throws EncoderException for some failure scenarios */ @Test @@ -164,7 +164,7 @@ public class Caverphone2Test extends AbstractStringEncoderTest<Caverphone2> { } /** - * See http://caversham.otago.ac.nz/files/working/ctp150804.pdf + * See https://caversham.otago.ac.nz/files/working/ctp150804.pdf * * @throws EncoderException for some failure scenarios */ @Test @@ -242,7 +242,7 @@ public class Caverphone2Test extends AbstractStringEncoderTest<Caverphone2> { } /** - * See http://caversham.otago.ac.nz/files/working/ctp150804.pdf + * See https://caversham.otago.ac.nz/files/working/ctp150804.pdf * * @throws EncoderException for some failure scenarios */ @Test @@ -319,7 +319,7 @@ public class Caverphone2Test extends AbstractStringEncoderTest<Caverphone2> { } /** - * See http://caversham.otago.ac.nz/files/working/ctp150804.pdf + * See https://caversham.otago.ac.nz/files/working/ctp150804.pdf * * @throws EncoderException for some failure scenarios */ @Test diff --git a/src/test/java/org/apache/commons/codec/language/DaitchMokotoffSoundexTest.java b/src/test/java/org/apache/commons/codec/language/DaitchMokotoffSoundexTest.java index b9a32926..c248bdfe 100644 --- a/src/test/java/org/apache/commons/codec/language/DaitchMokotoffSoundexTest.java +++ b/src/test/java/org/apache/commons/codec/language/DaitchMokotoffSoundexTest.java @@ -144,7 +144,7 @@ public class DaitchMokotoffSoundexTest extends AbstractStringEncoderTest<DaitchM } /** - * Examples from http://en.wikipedia.org/wiki/Daitch%E2%80%93Mokotoff_Soundex + * Examples from https://en.wikipedia.org/wiki/Daitch%E2%80%93Mokotoff_Soundex */ @Test public void testSoundexBasic3() { diff --git a/src/test/java/org/apache/commons/codec/language/DoubleMetaphone2Test.java b/src/test/java/org/apache/commons/codec/language/DoubleMetaphone2Test.java index 5896c847..b64fdbe9 100644 --- a/src/test/java/org/apache/commons/codec/language/DoubleMetaphone2Test.java +++ b/src/test/java/org/apache/commons/codec/language/DoubleMetaphone2Test.java @@ -26,9 +26,9 @@ import org.junit.jupiter.api.Test; * Tests {@link DoubleMetaphone}. * <p> * The test data was extracted from Stephen Woodbridge's <a - * href="http://swoodbridge.com/DoubleMetaPhone/surnames.txt">PHP test program</a>. + * href="https://swoodbridge.com/DoubleMetaPhone/surnames.txt">PHP test program</a>. * - * @see <a href="http://swoodbridge.com/DoubleMetaPhone/surnames.txt">PHP test program</a> + * @see <a href="https://swoodbridge.com/DoubleMetaPhone/surnames.txt">PHP test program</a> */ public class DoubleMetaphone2Test extends AbstractStringEncoderTest<DoubleMetaphone> { diff --git a/src/test/java/org/apache/commons/codec/language/DoubleMetaphoneTest.java b/src/test/java/org/apache/commons/codec/language/DoubleMetaphoneTest.java index 9600efa9..ab75fd04 100644 --- a/src/test/java/org/apache/commons/codec/language/DoubleMetaphoneTest.java +++ b/src/test/java/org/apache/commons/codec/language/DoubleMetaphoneTest.java @@ -37,7 +37,7 @@ import org.junit.jupiter.api.Test; public class DoubleMetaphoneTest extends AbstractStringEncoderTest<DoubleMetaphone> { /** - * Test data from http://aspell.net/test/orig/batch0.tab. + * Test data from https://aspell.net/test/orig/batch0.tab. * * "Copyright (C) 2002 Kevin Atkinson (kev...@gnu.org). Verbatim copying * and distribution of this entire article is permitted in any medium, diff --git a/src/test/java/org/apache/commons/codec/language/RefinedSoundexTest.java b/src/test/java/org/apache/commons/codec/language/RefinedSoundexTest.java index 1c0c6a09..5e5bbd73 100644 --- a/src/test/java/org/apache/commons/codec/language/RefinedSoundexTest.java +++ b/src/test/java/org/apache/commons/codec/language/RefinedSoundexTest.java @@ -45,11 +45,11 @@ public class RefinedSoundexTest extends AbstractStringEncoderTest<RefinedSoundex assertEquals(1, this.getStringEncoder().difference("Margaret", "Andrew")); assertEquals(1, this.getStringEncoder().difference("Janet", "Margaret")); // Examples from - // http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_de-dz_8co5.asp + // https://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_de-dz_8co5.asp assertEquals(5, this.getStringEncoder().difference("Green", "Greene")); assertEquals(1, this.getStringEncoder().difference("Blotchet-Halls", "Greene")); // Examples from - // http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_setu-sus_3o6w.asp + // https://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_setu-sus_3o6w.asp assertEquals(6, this.getStringEncoder().difference("Smith", "Smythe")); assertEquals(8, this.getStringEncoder().difference("Smithers", "Smythers")); assertEquals(5, this.getStringEncoder().difference("Anothers", "Brothers")); diff --git a/src/test/java/org/apache/commons/codec/language/SoundexTest.java b/src/test/java/org/apache/commons/codec/language/SoundexTest.java index 1b180b14..3bb2f02c 100644 --- a/src/test/java/org/apache/commons/codec/language/SoundexTest.java +++ b/src/test/java/org/apache/commons/codec/language/SoundexTest.java @@ -101,10 +101,10 @@ public class SoundexTest extends AbstractStringEncoderTest<Soundex> { assertEquals(2, this.getStringEncoder().difference("Ann", "Andrew")); assertEquals(1, this.getStringEncoder().difference("Margaret", "Andrew")); assertEquals(0, this.getStringEncoder().difference("Janet", "Margaret")); - // Examples from http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_de-dz_8co5.asp + // Examples from https://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_de-dz_8co5.asp assertEquals(4, this.getStringEncoder().difference("Green", "Greene")); assertEquals(0, this.getStringEncoder().difference("Blotchet-Halls", "Greene")); - // Examples from http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_setu-sus_3o6w.asp + // Examples from https://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_setu-sus_3o6w.asp assertEquals(4, this.getStringEncoder().difference("Smith", "Smythe")); assertEquals(4, this.getStringEncoder().difference("Smithers", "Smythers")); assertEquals(2, this.getStringEncoder().difference("Anothers", "Brothers")); @@ -287,7 +287,7 @@ public class SoundexTest extends AbstractStringEncoderTest<Soundex> { /** * Examples for MS SQLServer from - * http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_setu-sus_3o6w.asp + * https://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_setu-sus_3o6w.asp */ @Test public void testMsSqlServer1() { @@ -297,7 +297,7 @@ public class SoundexTest extends AbstractStringEncoderTest<Soundex> { /** * Examples for MS SQLServer from - * http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support + * https://support.microsoft.com/default.aspx?scid=https://support.microsoft.com:80/support * /kb/articles/Q100/3/65.asp&NoWebContent=1 * * @throws EncoderException for some failure scenarios */ @@ -307,7 +307,7 @@ public class SoundexTest extends AbstractStringEncoderTest<Soundex> { } /** - * Examples for MS SQLServer from http://databases.about.com/library/weekly/aa042901a.htm + * Examples for MS SQLServer from https://databases.about.com/library/weekly/aa042901a.htm */ @Test public void testMsSqlServer3() { @@ -409,7 +409,7 @@ public class SoundexTest extends AbstractStringEncoderTest<Soundex> { } /** - * Tests example from http://en.wikipedia.org/wiki/Soundex#American_Soundex as of 2015-03-22. + * Tests example from https://en.wikipedia.org/wiki/Soundex#American_Soundex as of 2015-03-22. */ @Test public void testWikipediaAmericanSoundex() { diff --git a/src/test/java/org/apache/commons/codec/language/bm/PhoneticEngineRegressionTest.java b/src/test/java/org/apache/commons/codec/language/bm/PhoneticEngineRegressionTest.java index e7bb8ceb..3207dbe3 100644 --- a/src/test/java/org/apache/commons/codec/language/bm/PhoneticEngineRegressionTest.java +++ b/src/test/java/org/apache/commons/codec/language/bm/PhoneticEngineRegressionTest.java @@ -80,7 +80,7 @@ public class PhoneticEngineRegressionTest { @Test public void testCompatibilityWithOriginalVersion() { // see CODEC-187 - // comparison: http://stevemorse.org/census/soundex.html + // comparison: https://stevemorse.org/census/soundex.html final Map<String, String> args = new TreeMap<>(); args.put("nameType", "GENERIC");