Use HTTPS to access Apache resources.

This commit is contained in:
Gary Gregory 2019-07-06 20:47:34 -04:00
parent d21a59baa5
commit 2288b0ff2c
11 changed files with 31 additions and 31 deletions

View File

@ -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>

View File

@ -965,7 +965,7 @@ private static void modify(final Calendar val, final int field, final ModifyType
}
// ----------------- 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.

View File

@ -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>

View File

@ -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>

View File

@ -483,7 +483,7 @@ private double chiSquare(final int[] expected, final int[] observed) {
* 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() {

View File

@ -378,7 +378,7 @@ public void testUnescapeXmlSupplementaryCharacters() {
}
// 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;"));

View File

@ -1966,7 +1966,7 @@ public void testReplaceChars_StringStringString() {
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",

View File

@ -1186,7 +1186,7 @@ public int getB() {
/**
* 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 void testUnrelatedClasses() {
}
/**
* 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 void testNpeForNullElement() {
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);
}

View File

@ -931,7 +931,7 @@ public void testAppendFixedWidthPadRight() {
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);

View File

@ -849,7 +849,7 @@ public void testRound() throws Exception {
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 void testTruncate() throws Exception {
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 void testTruncate() throws Exception {
/**
* 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 void testTruncateLang59() {
}
}
// 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 void testCeil() throws Exception {
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);

View File

@ -406,7 +406,7 @@ public void testLexx() {
}
// 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 },