This is an automated email from the ASF dual-hosted git repository.
remm pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new 632e6732bd Cleanup
632e6732bd is described below
commit 632e6732bd7cd9d2466ac480cca7b96b7c40240f
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 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: [email protected]
For additional commands, e-mail: [email protected]