This is an automated email from the ASF dual-hosted git repository.
remm pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new cead076c99 Cleanup
cead076c99 is described below
commit cead076c992ee75073ff57df4d70f70218e9c9c6
Author: remm <[email protected]>
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 abf4d3d98f..7f232ed40e 100644
--- a/java/org/apache/catalina/users/MemoryUserDatabase.java
+++ b/java/org/apache/catalina/users/MemoryUserDatabase.java
@@ -494,10 +494,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: [email protected]
For additional commands, e-mail: [email protected]