You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2022/08/30 09:15:32 UTC

[tomcat] branch 9.0.x updated: tabs -> spaces

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

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

commit fa7e1e626211196bff27c076bb57e1e40ae4523e
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org