remm 2003/07/13 20:14:11 Modified: util/java/org/apache/tomcat/util/http/mapper Mapper.java Log: - Remove tabs. Revision Changes Path 1.23 +19 -19 jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/http/mapper/Mapper.java Index: Mapper.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/http/mapper/Mapper.java,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- Mapper.java 14 Jul 2003 02:52:41 -0000 1.22 +++ Mapper.java 14 Jul 2003 03:14:10 -0000 1.23 @@ -182,26 +182,26 @@ * @param host Host object */ public synchronized void addHost(String name, String[] aliases, - Object host) { + Object host) { Host[] newHosts = new Host[hosts.length + 1]; Host newHost = new Host(); - ContextList contextList = new ContextList(); + ContextList contextList = new ContextList(); newHost.name = name; - newHost.contextList = contextList; + newHost.contextList = contextList; newHost.object = host; if (insertMap(hosts, newHosts, newHost)) { hosts = newHosts; } - for (int i = 0; i < aliases.length; i++) { - newHosts = new Host[hosts.length + 1]; - newHost = new Host(); - newHost.name = aliases[i]; - newHost.contextList = contextList; - newHost.object = host; - if (insertMap(hosts, newHosts, newHost)) { - hosts = newHosts; - } - } + for (int i = 0; i < aliases.length; i++) { + newHosts = new Host[hosts.length + 1]; + newHost = new Host(); + newHost.name = aliases[i]; + newHost.contextList = contextList; + newHost.object = host; + if (insertMap(hosts, newHosts, newHost)) { + hosts = newHosts; + } + } } @@ -215,12 +215,12 @@ if (removeMap(hosts, newHosts, name)) { hosts = newHosts; } - for (int i = 0; i < aliases.length; i++) { - newHosts = new Host[hosts.length - 1]; - if (removeMap(hosts, newHosts, aliases[i])) { - hosts = newHosts; - } - } + for (int i = 0; i < aliases.length; i++) { + newHosts = new Host[hosts.length - 1]; + if (removeMap(hosts, newHosts, aliases[i])) { + hosts = newHosts; + } + } } public String[] getHosts() {
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]