aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Gregory <gardgregory@gmail.com>2019-07-06 20:47:34 -0400
committerGary Gregory <gardgregory@gmail.com>2019-07-06 20:47:34 -0400
commit2288b0ff2cce401f510ae9e208fcf1698f4bce79 (patch)
tree4a6652545eb18217cafbcbee1d292a984d738cbe
parentd21a59baa559f57ead53a5bab22d60333dc46041 (diff)
downloadapache-commons-lang-2288b0ff2cce401f510ae9e208fcf1698f4bce79.tar.gz
Use HTTPS to access Apache resources.
-rw-r--r--pom.xml2
-rw-r--r--src/main/java/org/apache/commons/lang3/time/DateUtils.java2
-rw-r--r--src/site/xdoc/article2_4.xml14
-rw-r--r--src/site/xdoc/article2_5.xml18
-rw-r--r--src/test/java/org/apache/commons/lang3/RandomStringUtilsTest.java2
-rw-r--r--src/test/java/org/apache/commons/lang3/StringEscapeUtilsTest.java2
-rw-r--r--src/test/java/org/apache/commons/lang3/StringUtilsTest.java2
-rw-r--r--src/test/java/org/apache/commons/lang3/builder/EqualsBuilderTest.java6
-rw-r--r--src/test/java/org/apache/commons/lang3/text/StrBuilderAppendInsertTest.java2
-rw-r--r--src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java10
-rw-r--r--src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java2
11 files changed, 31 insertions, 31 deletions
diff --git a/pom.xml b/pom.xml
index 1a96182e7..e21d7b041 100644
--- a/pom.xml
+++ b/pom.xml
@@ -40,7 +40,7 @@
<issueManagement>
<system>jira</system>
- <url>http://issues.apache.org/jira/browse/LANG</url>
+ <url>https://issues.apache.org/jira/browse/LANG</url>
</issueManagement>
<scm>
diff --git a/src/main/java/org/apache/commons/lang3/time/DateUtils.java b/src/main/java/org/apache/commons/lang3/time/DateUtils.java
index cbad16dc7..065afb802 100644
--- a/src/main/java/org/apache/commons/lang3/time/DateUtils.java
+++ b/src/main/java/org/apache/commons/lang3/time/DateUtils.java
@@ -965,7 +965,7 @@ public class DateUtils {
}
// ----------------- Fix for LANG-59 ---------------------- START ---------------
- // see http://issues.apache.org/jira/browse/LANG-59
+ // see https://issues.apache.org/jira/browse/LANG-59
//
// Manually truncate milliseconds, seconds and minutes, rather than using
// Calendar methods.
diff --git a/src/site/xdoc/article2_4.xml b/src/site/xdoc/article2_4.xml
index ad9aff373..41686abc8 100644
--- a/src/site/xdoc/article2_4.xml
+++ b/src/site/xdoc/article2_4.xml
@@ -29,7 +29,7 @@ issue to see what went on in the year of development between Lang 2.3 and 2.4.</
<section name="Deprecations">
<p>First, let us start with a couple of deprecations. As you can see in the release notes, we chose
to deprecate the <a href="https://commons.apache.org/lang/api-release/org/apache/commons/lang/ObjectUtils.html#appendIdentityToString(java.lang.StringBuffer,%20java.lang.Object)"><code>ObjectUtils.appendIdentityToString(StringBuffer, Object)</code></a> method as its
-null handling did not match its design (see <a href="http://issues.apache.org/jira/browse/LANG-360">LANG-360</a>
+null handling did not match its design (see <a href="https://issues.apache.org/jira/browse/LANG-360">LANG-360</a>
for more details. Instead users should use <code>ObjectUtils.identityToString(StringBuffer, Object)</code>.</p>
<p>We also deprecated <a href="https://commons.apache.org/lang/api-release/org/apache/commons/lang/time/DateUtils.html#add(java.util.Date,%20int,%20int)"><code>DateUtils.add(java.util.Date, int, int)</code></a>. It should have been <code>private</code>
@@ -47,7 +47,7 @@ class to the <code>org.apache.commons.lang.math</code> package.
This candidate for ugly name of the month was needed to add <a href="http://en.wikipedia.org/wiki/IEEE_754r#min_and_max">IEEE-754r</a>
semantics for some of the <code>NumberUtils</code> methods. The relevant part of that
IEEE specification in this case is the NaN handling for <code>min</code> and <code>max</code> methods, and
-you can read more about it in <a href="http://issues.apache.org/jira/browse/LANG-381">LANG-381</a>.
+you can read more about it in <a href="https://issues.apache.org/jira/browse/LANG-381">LANG-381</a>.
</p>
<p>Second and third on our newcomers list are the <a href="https://commons.apache.org/lang/api-release/org/apache/commons/lang/text/ExtendedMessageFormat.html"><code>ExtendedMessageFormat</code></a> class and its peer
<a href="https://commons.apache.org/lang/api-release/org/apache/commons/lang/text/FormatFactory.html"><code>FormatFactory</code></a>
@@ -177,11 +177,11 @@ and fortunately there are some nice groupings that we can discuss instead:</p>
<section name="What's fixed in Lang 2.4?">
<p>In addition to new things, there are the bugfixes. As you can tell from the release notes, there are a good few - 24 in fact according to JIRA. Here are some of the interesting ones: </p>
<ul>
-<li><a href="http://issues.apache.org/jira/browse/LANG-393">LANG-393</a> - We fixed EqualsBuilder so that it understands that BigDecimals are equal even when they think they're not. It seems very likely that usually you will want "29.0" and "29.00" to be equal, even if BigDecimal disagrees. </li>
-<li><a href="http://issues.apache.org/jira/browse/LANG-380">LANG-380</a> - Chances are you'll know if you met this one. Fraction.reduce has an infinite loop if the numerator is 0. </li>
-<li><a href="http://issues.apache.org/jira/browse/LANG-369">LANG-369</a>, <a href="http://issues.apache.org/jira/browse/LANG-367">LANG-367</a>, <a href="http://issues.apache.org/jira/browse/LANG-334">LANG-334</a> - Threading bugs - we improved how things work in concurrency situations for ExceptionUtils, FastDateFormat and Enum. </li>
-<li><a href="http://issues.apache.org/jira/browse/LANG-346">LANG-346</a> - DateUtils.round was getting things wrong for minutes and seconds. </li>
-<li><a href="http://issues.apache.org/jira/browse/LANG-328">LANG-328</a> - LocaleUtils.toLocale was broken if there was no country code defined. </li>
+<li><a href="https://issues.apache.org/jira/browse/LANG-393">LANG-393</a> - We fixed EqualsBuilder so that it understands that BigDecimals are equal even when they think they're not. It seems very likely that usually you will want "29.0" and "29.00" to be equal, even if BigDecimal disagrees. </li>
+<li><a href="https://issues.apache.org/jira/browse/LANG-380">LANG-380</a> - Chances are you'll know if you met this one. Fraction.reduce has an infinite loop if the numerator is 0. </li>
+<li><a href="https://issues.apache.org/jira/browse/LANG-369">LANG-369</a>, <a href="https://issues.apache.org/jira/browse/LANG-367">LANG-367</a>, <a href="https://issues.apache.org/jira/browse/LANG-334">LANG-334</a> - Threading bugs - we improved how things work in concurrency situations for ExceptionUtils, FastDateFormat and Enum. </li>
+<li><a href="https://issues.apache.org/jira/browse/LANG-346">LANG-346</a> - DateUtils.round was getting things wrong for minutes and seconds. </li>
+<li><a href="https://issues.apache.org/jira/browse/LANG-328">LANG-328</a> - LocaleUtils.toLocale was broken if there was no country code defined. </li>
</ul>
</section>
diff --git a/src/site/xdoc/article2_5.xml b/src/site/xdoc/article2_5.xml
index a3a6964ba..f43baf2b5 100644
--- a/src/site/xdoc/article2_5.xml
+++ b/src/site/xdoc/article2_5.xml
@@ -110,18 +110,18 @@ support finding the Nth indexOf instead of the first time the search term is fou
<section name="What's fixed in Lang 2.5?">
<p>Per the <a href="upgradeto2_5.html">release notes</a> there are 32 bugs fixed in Lang 2.5. Some highlights are: </p>
<ul>
-<li><a href="http://issues.apache.org/jira/browse/LANG-477">LANG-477</a> - fixing an OutOfMemoryError in ExtendedMessageFormat. </li>
-<li><a href="http://issues.apache.org/jira/browse/LANG-76">LANG-76</a> - EnumUtils.getEnum() doesn't work well in 1.5. </li>
-<li><a href="http://issues.apache.org/jira/browse/LANG-204">LANG-204</a> and
-<a href="http://issues.apache.org/jira/browse/LANG-506">LANG-506</a> - Multithread improvements to the package private Entities
+<li><a href="https://issues.apache.org/jira/browse/LANG-477">LANG-477</a> - fixing an OutOfMemoryError in ExtendedMessageFormat. </li>
+<li><a href="https://issues.apache.org/jira/browse/LANG-76">LANG-76</a> - EnumUtils.getEnum() doesn't work well in 1.5. </li>
+<li><a href="https://issues.apache.org/jira/browse/LANG-204">LANG-204</a> and
+<a href="https://issues.apache.org/jira/browse/LANG-506">LANG-506</a> - Multithread improvements to the package private Entities
class, used behind the scenes by StringEscapeUtils. </li>
-<li><a href="http://issues.apache.org/jira/browse/LANG-511">LANG-511</a> - Improve performance by deferring LocaleUtils initialization. </li>
-<li><a href="http://issues.apache.org/jira/browse/LANG-523">LANG-523</a> - Two orders of magnitude performance improvement in StrBuilder. </li>
-<li><a href="http://issues.apache.org/jira/browse/LANG-467">LANG-467</a> - Reverted the change to EqualsBuilder in Lang 2.4 to
+<li><a href="https://issues.apache.org/jira/browse/LANG-511">LANG-511</a> - Improve performance by deferring LocaleUtils initialization. </li>
+<li><a href="https://issues.apache.org/jira/browse/LANG-523">LANG-523</a> - Two orders of magnitude performance improvement in StrBuilder. </li>
+<li><a href="https://issues.apache.org/jira/browse/LANG-467">LANG-467</a> - Reverted the change to EqualsBuilder in Lang 2.4 to
specially handle BigDecimal. While useful, it put things out of sync with HashCodeBuilder. </li>
-<li><a href="http://issues.apache.org/jira/browse/LANG-586">LANG-586</a> - Use of a ThreadLocal in HashCodeBuilder and
+<li><a href="https://issues.apache.org/jira/browse/LANG-586">LANG-586</a> - Use of a ThreadLocal in HashCodeBuilder and
ToStringStyle meant that containers could end up with memory leaks. This was rewritten to avoid this. </li>
-<li><a href="http://issues.apache.org/jira/browse/LANG-472">LANG-472</a> - RandomUtils.nextLong() was returning only even numbers. Fans of Java-based roulette wheels can breathe a sigh of relief. </li>
+<li><a href="https://issues.apache.org/jira/browse/LANG-472">LANG-472</a> - RandomUtils.nextLong() was returning only even numbers. Fans of Java-based roulette wheels can breathe a sigh of relief. </li>
</ul>
</section>
diff --git a/src/test/java/org/apache/commons/lang3/RandomStringUtilsTest.java b/src/test/java/org/apache/commons/lang3/RandomStringUtilsTest.java
index c903b3f9a..35eddf64d 100644
--- a/src/test/java/org/apache/commons/lang3/RandomStringUtilsTest.java
+++ b/src/test/java/org/apache/commons/lang3/RandomStringUtilsTest.java
@@ -483,7 +483,7 @@ public class RandomStringUtilsTest {
* Checks if the string got by {@link RandomStringUtils#random(int)}
* can be converted to UTF-8 and back without loss.
*
- * @see <a href="http://issues.apache.org/jira/browse/LANG-100">LANG-100</a>
+ * @see <a href="https://issues.apache.org/jira/browse/LANG-100">LANG-100</a>
*/
@Test
public void testLang100() {
diff --git a/src/test/java/org/apache/commons/lang3/StringEscapeUtilsTest.java b/src/test/java/org/apache/commons/lang3/StringEscapeUtilsTest.java
index 9c0b5348c..f0160634c 100644
--- a/src/test/java/org/apache/commons/lang3/StringEscapeUtilsTest.java
+++ b/src/test/java/org/apache/commons/lang3/StringEscapeUtilsTest.java
@@ -378,7 +378,7 @@ public class StringEscapeUtilsTest {
}
// Tests issue #38569
- // http://issues.apache.org/bugzilla/show_bug.cgi?id=38569
+ // https://issues.apache.org/bugzilla/show_bug.cgi?id=38569
@Test
public void testStandaloneAmphersand() {
assertEquals("<P&O>", StringEscapeUtils.unescapeHtml4("&lt;P&O&gt;"));
diff --git a/src/test/java/org/apache/commons/lang3/StringUtilsTest.java b/src/test/java/org/apache/commons/lang3/StringUtilsTest.java
index 02046aa54..3810a5c12 100644
--- a/src/test/java/org/apache/commons/lang3/StringUtilsTest.java
+++ b/src/test/java/org/apache/commons/lang3/StringUtilsTest.java
@@ -1966,7 +1966,7 @@ public class StringUtilsTest {
assertEquals("ayya", StringUtils.replaceChars("abcba", "bc", "y"));
assertEquals("ayzya", StringUtils.replaceChars("abcba", "bc", "yzx"));
- // From http://issues.apache.org/bugzilla/show_bug.cgi?id=25454
+ // From https://issues.apache.org/bugzilla/show_bug.cgi?id=25454
assertEquals("bcc", StringUtils.replaceChars("abc", "ab", "bc"));
assertEquals("q651.506bera", StringUtils.replaceChars("d216.102oren",
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123456789",
diff --git a/src/test/java/org/apache/commons/lang3/builder/EqualsBuilderTest.java b/src/test/java/org/apache/commons/lang3/builder/EqualsBuilderTest.java
index 13847c738..061d2da0f 100644
--- a/src/test/java/org/apache/commons/lang3/builder/EqualsBuilderTest.java
+++ b/src/test/java/org/apache/commons/lang3/builder/EqualsBuilderTest.java
@@ -1186,7 +1186,7 @@ public class EqualsBuilderTest {
/**
* Tests two instances of classes that can be equal and that are not "related". The two classes are not subclasses
* of each other and do not share a parent aside from Object.
- * See http://issues.apache.org/bugzilla/show_bug.cgi?id=33069
+ * See https://issues.apache.org/bugzilla/show_bug.cgi?id=33069
*/
@Test
public void testUnrelatedClasses() {
@@ -1210,7 +1210,7 @@ public class EqualsBuilderTest {
}
/**
- * Test from http://issues.apache.org/bugzilla/show_bug.cgi?id=33067
+ * Test from https://issues.apache.org/bugzilla/show_bug.cgi?id=33067
*/
@Test
public void testNpeForNullElement() {
@@ -1218,7 +1218,7 @@ public class EqualsBuilderTest {
final Object[] x2 = new Object[]{Integer.valueOf(1), Integer.valueOf(2), Integer.valueOf(3)};
// causes an NPE in 2.0 according to:
- // http://issues.apache.org/bugzilla/show_bug.cgi?id=33067
+ // https://issues.apache.org/bugzilla/show_bug.cgi?id=33067
new EqualsBuilder().append(x1, x2);
}
diff --git a/src/test/java/org/apache/commons/lang3/text/StrBuilderAppendInsertTest.java b/src/test/java/org/apache/commons/lang3/text/StrBuilderAppendInsertTest.java
index a2b04f285..477b34721 100644
--- a/src/test/java/org/apache/commons/lang3/text/StrBuilderAppendInsertTest.java
+++ b/src/test/java/org/apache/commons/lang3/text/StrBuilderAppendInsertTest.java
@@ -931,7 +931,7 @@ public class StrBuilderAppendInsertTest {
assertEquals("null-", sb.toString());
}
- // See: http://issues.apache.org/jira/browse/LANG-299
+ // See: https://issues.apache.org/jira/browse/LANG-299
@Test
public void testLang299() {
final StrBuilder sb = new StrBuilder(1);
diff --git a/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java b/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java
index d591f7bdc..90070d59f 100644
--- a/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java
+++ b/src/test/java/org/apache/commons/lang3/time/DateUtilsTest.java
@@ -849,7 +849,7 @@ public class DateUtilsTest {
DateUtils.round((Object) calAmPm4, Calendar.AM_PM),
"round ampm-4 failed");
- // Fix for http://issues.apache.org/bugzilla/show_bug.cgi?id=25560 / LANG-13
+ // Fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=25560 / LANG-13
// Test rounding across the beginning of daylight saving time
try {
TimeZone.setDefault(zone);
@@ -1116,7 +1116,7 @@ public class DateUtilsTest {
assertThrows(IllegalArgumentException.class, () -> DateUtils.truncate((Object) null, Calendar.SECOND));
assertThrows(ClassCastException.class, () -> DateUtils.truncate("", Calendar.SECOND));
- // Fix for http://issues.apache.org/bugzilla/show_bug.cgi?id=25560
+ // Fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=25560
// Test truncate across beginning of daylight saving time
try {
TimeZone.setDefault(zone);
@@ -1154,7 +1154,7 @@ public class DateUtilsTest {
/**
* Tests for LANG-59
*
- * see http://issues.apache.org/jira/browse/LANG-59
+ * see https://issues.apache.org/jira/browse/LANG-59
*/
@Test
public void testTruncateLang59() {
@@ -1227,7 +1227,7 @@ public class DateUtilsTest {
}
}
- // http://issues.apache.org/jira/browse/LANG-530
+ // https://issues.apache.org/jira/browse/LANG-530
@SuppressWarnings("deprecation")
@Test
public void testLang530() throws ParseException {
@@ -1395,7 +1395,7 @@ public class DateUtilsTest {
assertThrows(ClassCastException.class, () -> DateUtils.ceiling("", Calendar.SECOND));
assertThrows(IllegalArgumentException.class, () -> DateUtils.ceiling(date1, -9999));
- // Fix for http://issues.apache.org/bugzilla/show_bug.cgi?id=25560
+ // Fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=25560
// Test ceiling across the beginning of daylight saving time
try {
TimeZone.setDefault(zone);
diff --git a/src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java b/src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java
index b0724c49d..7db6bbea7 100644
--- a/src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java
+++ b/src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java
@@ -406,7 +406,7 @@ public class DurationFormatUtilsTest {
}
- // http://issues.apache.org/bugzilla/show_bug.cgi?id=38401
+ // https://issues.apache.org/bugzilla/show_bug.cgi?id=38401
@Test
public void testBugzilla38401() {
assertEqualDuration( "0000/00/30 16:00:00 000", new int[] { 2006, 0, 26, 18, 47, 34 },