Replace MappedHost#contextList field in realHost and all its aliases with a new value.
(MappedHost realHost, ContextList newContextList)
| 249 | * Replace {@link MappedHost#contextList} field in <code>realHost</code> and all its aliases with a new value. |
| 250 | */ |
| 251 | private void updateContextList(MappedHost realHost, ContextList newContextList) { |
| 252 | |
| 253 | realHost.contextList = newContextList; |
| 254 | for (MappedHost alias : realHost.getAliases()) { |
| 255 | alias.contextList = newContextList; |
| 256 | } |
| 257 | } |
| 258 | |
| 259 | /** |
| 260 | * Add a new Context to an existing Host. |
no test coverage detected