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

markt 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 e883611b8c tabs -> spaces
e883611b8c is described below

commit e883611b8c849c8a941951ef4d2b3bcfc2184f39
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Aug 30 10:13:59 2022 +0100

    tabs -> spaces
    
    (I need to update the config for my new $work laptop)
---
 java/org/apache/el/util/MessageFactory.java | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/java/org/apache/el/util/MessageFactory.java 
b/java/org/apache/el/util/MessageFactory.java
index 20e530d4ef..8061aa00ac 100644
--- a/java/org/apache/el/util/MessageFactory.java
+++ b/java/org/apache/el/util/MessageFactory.java
@@ -46,13 +46,13 @@ public final class MessageFactory {
         // Convert all Number arguments to String else MessageFormat may try to
         // format them in unexpected ways.
         if (args != null) {
-               for (int i = 0; i < args.length; i++) {
-                       if (args[i] instanceof Number) {
-                               args[i] = args[i].toString();
-                       }
-               }
+            for (int i = 0; i < args.length; i++) {
+                if (args[i] instanceof Number) {
+                    args[i] = args[i].toString();
+                }
+            }
         }
-        
+
         MessageFormat mf = new MessageFormat(value);
         return mf.format(args, new StringBuffer(), null).toString();
     }


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

Reply via email to