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

remm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/main by this push:
     new 55f1a632d2 Cleanup
55f1a632d2 is described below

commit 55f1a632d2ef6e0fafcb878c50cf741513d726b6
Author: remm <r...@apache.org>
AuthorDate: Thu Jun 12 10:37:36 2025 +0200

    Cleanup
---
 java/org/apache/catalina/users/MemoryUserDatabase.java | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/java/org/apache/catalina/users/MemoryUserDatabase.java 
b/java/org/apache/catalina/users/MemoryUserDatabase.java
index 8006607130..69c87e9e71 100644
--- a/java/org/apache/catalina/users/MemoryUserDatabase.java
+++ b/java/org/apache/catalina/users/MemoryUserDatabase.java
@@ -481,10 +481,8 @@ public class MemoryUserDatabase implements UserDatabase {
                 // Print the file prolog
                 writer.println("<?xml version='1.0' encoding='utf-8'?>");
                 writer.println("<tomcat-users 
xmlns=\"http://tomcat.apache.org/xml\"";);
-                writer.print("              ");
-                
writer.println("xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"";);
-                writer.print("              ");
-                
writer.println("xsi:schemaLocation=\"http://tomcat.apache.org/xml 
tomcat-users.xsd\"");
+                writer.println("              
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"";);
+                writer.println("              
xsi:schemaLocation=\"http://tomcat.apache.org/xml tomcat-users.xsd\"");
                 writer.println("              version=\"1.0\">");
 
                 // Print entries for each defined role, group, and user


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to