You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2022/02/05 21:16:39 UTC
[logging-log4j2] branch release-2.x updated: Format tweaks.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch release-2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/release-2.x by this push:
new 3071afd Format tweaks.
3071afd is described below
commit 3071afddbc7c4e4691b12de31a74a5f0ca5db590
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Feb 5 16:16:35 2022 -0500
Format tweaks.
---
.../src/main/java/org/apache/log4j/layout/Log4j1XmlLayout.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/log4j-1.2-api/src/main/java/org/apache/log4j/layout/Log4j1XmlLayout.java b/log4j-1.2-api/src/main/java/org/apache/log4j/layout/Log4j1XmlLayout.java
index ecdd0b5..f574868 100644
--- a/log4j-1.2-api/src/main/java/org/apache/log4j/layout/Log4j1XmlLayout.java
+++ b/log4j-1.2-api/src/main/java/org/apache/log4j/layout/Log4j1XmlLayout.java
@@ -47,7 +47,7 @@ public final class Log4j1XmlLayout extends AbstractStringLayout {
@PluginFactory
public static Log4j1XmlLayout createLayout(
- // @formatter:off
+ // @formatter:off
@PluginAttribute(value = "locationInfo") final boolean locationInfo,
@PluginAttribute(value = "properties") final boolean properties
// @formatter:on
@@ -109,7 +109,7 @@ public final class Log4j1XmlLayout extends AbstractStringLayout {
}
@SuppressWarnings("ThrowableResultOfMethodCallIgnored")
- final Throwable thrown = event.getThrown();
+ final Throwable thrown = event.getThrown();
if (thrown != null) {
buf.append("<log4j:throwable><![CDATA[");
final StringWriter w = new StringWriter();