Skip to content

Commit a1badbe

Browse files
committed
Another round of link fixing
1 parent f0e67d7 commit a1badbe

File tree

53 files changed

+109
-78
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+109
-78
lines changed

log4j-api/src/main/java/org/apache/logging/log4j/message/MapMessage.java

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ public String remove(final String key) {
241241
}
242242

243243
/**
244-
* Formats the Structured data as described in <a href="https://tools.ietf.org/html/rfc5424">RFC 5424</a>.
244+
* Formats the Structured data as described in <a href="https://datatracker.ietf.org/doc/html/rfc5424">RFC 5424</a>.
245245
*
246246
* @return The formatted String.
247247
*/
@@ -250,7 +250,7 @@ public String asString() {
250250
}
251251

252252
/**
253-
* Formats the Structured data as described in <a href="https://tools.ietf.org/html/rfc5424">RFC 5424</a>.
253+
* Formats the Structured data as described in <a href="https://datatracker.ietf.org/doc/html/rfc5424">RFC 5424</a>.
254254
*
255255
* @param format The format identifier.
256256
* @return The formatted String.
@@ -316,7 +316,7 @@ public <CV, S> void forEach(final TriConsumer<String, ? super CV, S> action, fin
316316
}
317317

318318
/**
319-
* Formats the Structured data as described in <a href="https://tools.ietf.org/html/rfc5424">RFC 5424</a>.
319+
* Formats the Structured data as described in <a href="https://datatracker.ietf.org/doc/html/rfc5424">RFC 5424</a>.
320320
*
321321
* @param format The format identifier.
322322
* @return The formatted String.
@@ -380,8 +380,9 @@ public String getFormattedMessage() {
380380
* @param formats
381381
* An array of Strings that provide extra information about how to format the message. MapMessage uses
382382
* the first format specifier it recognizes. The supported formats are XML, JSON, and JAVA. The default
383-
* format is key1="value1" key2="value2" as required by <a href="https://tools.ietf.org/html/rfc5424">RFC
384-
* 5424</a> messages.
383+
* format is key1="value1" key2="value2" as required by
384+
* <a href="https://datatracker.ietf.org/doc/html/rfc5424">RFC 5424</a>
385+
* messages.
385386
*
386387
* @return The formatted message.
387388
*/

log4j-api/src/main/java/org/apache/logging/log4j/message/StructuredDataMessage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* values.
3030
* </p>
3131
*
32-
* @see <a href="https://tools.ietf.org/html/rfc5424">RFC 5424</a>
32+
* @see <a href="https://datatracker.ietf.org/doc/html/rfc5424">RFC 5424</a>
3333
*/
3434
@AsynchronouslyFormattable
3535
public class StructuredDataMessage extends MapMessage<StructuredDataMessage, String> {

log4j-core/src/main/java/org/apache/logging/log4j/core/appender/MemoryMappedFileManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
* http://www.codeproject.com/Tips/683614/Things-to-Know-about-Memory-Mapped-File-in-Java</a>
4848
* @see <a href="https://bugs.openjdk.org/browse/JDK-6893654">JDK-6893654</a>
4949
* @see <a href="https://bugs.openjdk.org/browse/JDK-4724038">JDK-4724038</a>
50-
* @see <a href="https://stackoverflow.com/q/9261316/11748454">Memory-Mapped MappedByteBuffer or Direct ByteBuffer for DB Implementation?</a>
50+
* @see <a href="https://stackoverflow.com/questions/9261316/memory-mapped-mappedbytebuffer-or-direct-bytebuffer-for-db-implementation">Memory-Mapped MappedByteBuffer or Direct ByteBuffer for DB Implementation?</a>
5151
*
5252
* @since 2.1
5353
*/

log4j-core/src/main/java/org/apache/logging/log4j/core/appender/TlsSyslogFrame.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
/**
2424
* Wraps messages that are formatted according to RFC 5425.
2525
*
26-
* @see <a href="https://tools.ietf.org/html/rfc5425">RFC 5425</a>
26+
* @see <a href="https://datatracker.ietf.org/doc/html/rfc5425">RFC 5425</a>
2727
*/
2828
public class TlsSyslogFrame {
2929
private final String message;

log4j-core/src/main/java/org/apache/logging/log4j/core/net/Rfc1349TrafficClass.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package org.apache.logging.log4j.core.net;
1818

1919
/**
20-
* Enumerates the <a href="https://tools.ietf.org/html/rfc1349">RFC 1349</a> TOS field.
20+
* Enumerates the <a href="https://datatracker.ietf.org/doc/html/rfc1349">RFC 1349</a> TOS field.
2121
*
2222
* <ul>
2323
* <li><code>IPTOS_LOWCOST (0x02)</code></li>

log4j-core/src/main/java/org/apache/logging/log4j/core/time/Instant.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* Models a point in time, suitable for event timestamps.
2424
* <p>
2525
* Provides methods for obtaining high precision time information similar to the
26-
* <a href="https://docs.oracle.com/javase/9/docs/api/java/time/Instant.html">Instant</a> class introduced in Java 8,
26+
* <a href="https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html">Instant</a> class introduced in Java 8,
2727
* while also supporting the legacy millisecond precision API.
2828
* </p><p>
2929
* Depending on the platform, time sources ({@link Clock} implementations) may produce high precision or millisecond

log4j-core/src/main/java/org/apache/logging/log4j/core/time/MutableInstant.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
/**
3737
* An instantaneous point on the time line, used for high-precision log event timestamps.
38-
* Modeled on <a href="https://docs.oracle.com/javase/9/docs/api/index.html?java/time/class-use/Instant.html">java.time.Instant</a>,
38+
* Modeled on <a href="https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html">java.time.Instant</a>,
3939
* except that this version is mutable to prevent allocating temporary objects that need to be garbage-collected later.
4040
* <p>
4141
* Instances of this class are <em>not</em> thread-safe and should not be shared between threads.

log4j-core/src/main/java/org/apache/logging/log4j/core/util/TypeUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
/**
3030
* Utility class for working with Java {@link Type}s and derivatives. This class is adapted heavily from the
31-
* <a href="https://spring.io/projects/spring-framework">Spring Framework</a>, specifically the
31+
* <a href="https://spring.io/projects/spring-framework/">Spring Framework</a>, specifically the
3232
* <a href="https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/util/TypeUtils.html">TypeUtils</a>
3333
* class.
3434
*

src/changelog/.2.x.x/2703_log4j_debug.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
xmlns="https://logging.apache.org/xml/ns"
44
xsi:schemaLocation="https://logging.apache.org/xml/ns https://logging.apache.org/xml/ns/log4j-changelog-0.xsd"
55
type="fixed">
6-
<issue id="2703" link="https://github.com/apache/logging-log4j2/issue/2703"/>
6+
<issue id="2703" link="https://github.com/apache/logging-log4j2/issues/2703"/>
77
<description format="asciidoc">Fix handling of `log4j2.debug`.</description>
88
</entry>

src/changelog/2.21.0/.release-notes.adoc.ftl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@
2121
<#if release.date?has_content>Release date:: ${release.date}</#if>
2222

2323
This release primarily focuses on enhancements to our OSGi and JPMS support and contains several bug fixes.
24-
It will be the first release built and signed by the CI using the https://keyserver.ubuntu.com/pks/lookup?search=077E8893A6DCC33DD4A4D5B256E73BA9A0B592D0&op=index[ASF Logging Services Release Manager GPG key], which is shared in https://www.apache.org/dist/logging/KEYS[KEYS].
24+
It will be the first release built and signed by the CI using the
25+
https://keyserver.ubuntu.com/pks/lookup?search=077E8893A6DCC33DD4A4D5B256E73BA9A0B592D0&op=index[ASF Logging Services Release Manager GPG key],
26+
which is shared in
27+
https://downloads.apache.org/logging/KEYS[KEYS].
2528

2629
The Log4j 2.21.0 API, as well as the other artifacts, maintains binary compatibility with the previous release.
2730

0 commit comments

Comments
 (0)