You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2024/03/18 20:12:12 UTC

(logging-log4j-tools) branch release/0.8.0 updated: Fix Spotless failures

This is an automated email from the ASF dual-hosted git repository.

vy pushed a commit to branch release/0.8.0
in repository https://gitbox.apache.org/repos/asf/logging-log4j-tools.git


The following commit(s) were added to refs/heads/release/0.8.0 by this push:
     new 21c601c  Fix Spotless failures
21c601c is described below

commit 21c601ce5ec36df9dc9f6c7a6bd507f80cdea3a0
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Mon Mar 18 21:12:06 2024 +0100

    Fix Spotless failures
---
 .../org/apache/logging/log4j/docgen/asciidoctor/ApirefMacro.java    | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/log4j-docgen-asciidoctor-extension/src/main/java/org/apache/logging/log4j/docgen/asciidoctor/ApirefMacro.java b/log4j-docgen-asciidoctor-extension/src/main/java/org/apache/logging/log4j/docgen/asciidoctor/ApirefMacro.java
index e7928ae..1c438db 100644
--- a/log4j-docgen-asciidoctor-extension/src/main/java/org/apache/logging/log4j/docgen/asciidoctor/ApirefMacro.java
+++ b/log4j-docgen-asciidoctor-extension/src/main/java/org/apache/logging/log4j/docgen/asciidoctor/ApirefMacro.java
@@ -117,7 +117,8 @@ public final class ApirefMacro extends InlineMacroProcessor {
             lookup = createTypeLookup(node);
             final Map<String, Object> documentAttributes = node.getDocument().getAttributes();
             typeTemplateTarget = getStringAttribute(documentAttributes, attributeName("type-template-target"), null);
-            packageNameStripped = isBooleanAttributeProvided(documentAttributes, attributeName("package-name-stripped"));
+            packageNameStripped =
+                    isBooleanAttributeProvided(documentAttributes, attributeName("package-name-stripped"));
             initialized = true;
             LOGGER.fine("Initialized.");
         }
@@ -145,7 +146,8 @@ public final class ApirefMacro extends InlineMacroProcessor {
         final String directory = getStringAttribute(documentAttributes, attributeName("descriptor-directory"), null);
         final String pathMatcher =
                 getStringAttribute(documentAttributes, attributeName("descriptor-path-matcher"), "glob:**/*.xml");
-        final boolean dotFilesIncluded = isBooleanAttributeProvided(documentAttributes, attributeName("descriptor-dot-files-included"));
+        final boolean dotFilesIncluded =
+                isBooleanAttributeProvided(documentAttributes, attributeName("descriptor-dot-files-included"));
         LOGGER.log(
                 Level.FINE,
                 "Loading descriptors matching `{}` pattern in `{}`... (Dot files will be {})",