(String name)
| 40 | private HashMap<String,Host> hostMap = new HashMap<>(); |
| 41 | |
| 42 | private synchronized Host createHost(String name) { |
| 43 | Host host = hostMap.get(name); |
| 44 | if (host == null) { |
| 45 | host = new StandardHost(); |
| 46 | host.setName(name); |
| 47 | hostMap.put(name, host); |
| 48 | } |
| 49 | return host; |
| 50 | } |
| 51 | |
| 52 | private Context createContext(String name) { |
| 53 | Context context = new StandardContext(); |
no test coverage detected