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

ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/master by this push:
     new 6246ac231e ISIS-3334: fixes Layout XML Export has no Pretty Printing
6246ac231e is described below

commit 6246ac231ec4dca9027939c09330df1a5a888b4c
Author: Andi Huber <ahu...@apache.org>
AuthorDate: Fri Jan 20 10:01:15 2023 +0100

    ISIS-3334: fixes Layout XML Export has no Pretty Printing
---
 commons/src/main/java/org/apache/causeway/commons/io/JaxbUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/commons/src/main/java/org/apache/causeway/commons/io/JaxbUtils.java 
b/commons/src/main/java/org/apache/causeway/commons/io/JaxbUtils.java
index 08ee9b191f..209606e2ab 100644
--- a/commons/src/main/java/org/apache/causeway/commons/io/JaxbUtils.java
+++ b/commons/src/main/java/org/apache/causeway/commons/io/JaxbUtils.java
@@ -88,7 +88,7 @@ public class JaxbUtils {
     public static class JaxbOptions {
         private final @Builder.Default boolean useContextCache = true;
         private final @Builder.Default boolean allowMissingRootElement = false;
-        private final @Builder.Default boolean formattedOutput = false;
+        private final @Builder.Default boolean formattedOutput = true;
         private final @Singular Map<String, Object> properties;
         private final @Builder.Default @NonNull Consumer<Marshaller> 
marshallerConfigurer = _Functions.noopConsumer();
         private final @Builder.Default @NonNull Consumer<Unmarshaller> 
unmarshallerConfigurer = _Functions.noopConsumer();

Reply via email to