You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by sc...@apache.org on 2022/08/08 21:36:35 UTC

[tomcat] branch 8.5.x updated: Make checkstyle happy

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

schultz pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/8.5.x by this push:
     new afc1f57986 Make checkstyle happy
afc1f57986 is described below

commit afc1f579860698489d2ad4e611408ea4d01dbf55
Author: Christopher Schultz <ch...@christopherschultz.net>
AuthorDate: Mon Aug 8 17:36:15 2022 -0400

    Make checkstyle happy
---
 java/org/apache/catalina/users/MemoryUserDatabase.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/java/org/apache/catalina/users/MemoryUserDatabase.java b/java/org/apache/catalina/users/MemoryUserDatabase.java
index 124ed32ca8..a1b4d57031 100644
--- a/java/org/apache/catalina/users/MemoryUserDatabase.java
+++ b/java/org/apache/catalina/users/MemoryUserDatabase.java
@@ -638,7 +638,7 @@ public class MemoryUserDatabase implements UserDatabase {
                         writer.print("\"");
                     }
                     writer.print(" roles=\"");
-                    for(Iterator<Role> roles=group.getRoles(); roles.hasNext(); ) {
+                    for (Iterator<Role> roles=group.getRoles(); roles.hasNext(); ) {
                         Role role = roles.next();
                         writer.print(Escape.xml(role.getRolename()));
                         if(roles.hasNext()) {
@@ -662,7 +662,7 @@ public class MemoryUserDatabase implements UserDatabase {
                         writer.print("\"");
                     }
                     writer.print(" groups=\"");
-                    for(Iterator<Group> groups=user.getGroups(); groups.hasNext(); ) {
+                    for (Iterator<Group> groups=user.getGroups(); groups.hasNext(); ) {
                         Group group = groups.next();
                         writer.print(Escape.xml(group.getGroupname()));
                         if(groups.hasNext()) {
@@ -670,7 +670,7 @@ public class MemoryUserDatabase implements UserDatabase {
                         }
                     }
                     writer.print("\" roles=\"");
-                    for(Iterator<Role> roles=user.getRoles(); roles.hasNext(); ) {
+                    for (Iterator<Role> roles=user.getRoles(); roles.hasNext(); ) {
                         Role role = roles.next();
                         writer.print(Escape.xml(role.getRolename()));
                         if(roles.hasNext()) {


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