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

slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-doxia-sitetools.git

commit 3c63d2d0a7bb289900c897685e717fd8c125b8c4
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Tue Nov 10 16:30:09 2026 +0100

    Log the empty locale as ROOT and say "without explicit locale"
    
    Both from the review of 350a224: the empty root locale is shown as
    ROOT, not "root", and the descriptor fallback messages say "without
    explicit locale".
---
 .../src/main/java/org/apache/maven/doxia/tools/DefaultSiteTool.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/doxia-integration-tools/src/main/java/org/apache/maven/doxia/tools/DefaultSiteTool.java
 
b/doxia-integration-tools/src/main/java/org/apache/maven/doxia/tools/DefaultSiteTool.java
index 68c4a59..96efcd8 100644
--- 
a/doxia-integration-tools/src/main/java/org/apache/maven/doxia/tools/DefaultSiteTool.java
+++ 
b/doxia-integration-tools/src/main/java/org/apache/maven/doxia/tools/DefaultSiteTool.java
@@ -139,7 +139,7 @@ public class DefaultSiteTool implements SiteTool {
     public DefaultSiteTool() {
         LOGGER.debug(
                 "Default locale: {} (system property {}={})",
-                SiteTool.DEFAULT_LOCALE.toString().isEmpty() ? "root" : 
SiteTool.DEFAULT_LOCALE,
+                SiteTool.DEFAULT_LOCALE.toString().isEmpty() ? "ROOT" : 
SiteTool.DEFAULT_LOCALE,
                 SiteTool.DEFAULT_LOCALE_PROPERTY,
                 System.getProperty(SiteTool.DEFAULT_LOCALE_PROPERTY));
     }
@@ -923,13 +923,13 @@ public class DefaultSiteTool implements SiteTool {
                 return siteDescriptor;
             }
             LOGGER.debug("No site descriptor found for '" + project.getId() + 
"' for locale '" + language
-                    + "', trying without locale...");
+                    + "', trying without explicit locale...");
         }
 
         // parents attach site.xml with the plain "site" classifier, whatever 
the default locale is
         siteDescriptor = resolveSiteDescriptor(project, repoSession, 
remoteProjectRepositories, "");
         if (siteDescriptor == null) {
-            LOGGER.debug("No site descriptor found for '" + project.getId() + 
"' without locale");
+            LOGGER.debug("No site descriptor found for '" + project.getId() + 
"' without explicit locale");
         }
         return siteDescriptor;
     }

Reply via email to