tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/http/mapper Mapper.java
Date Mon, 14 Jul 2003 03:19:13 GMT
>            Host[] newHosts = new Host[hosts.length + 1];
>            Host newHost = new Host();
>   + ContextList contextList = new ContextList();
>            newHost.name = name;
>   + 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;
>   +     }
>   + }
>        }

The Tab-police are going to be after you big-time for this ;-).



Mime
View raw message