Clear the welcome files for the given context. @param hostName The host where the context to be cleared can be found @param contextPath The path of the context to be cleared @param version The version of the context to be cleared
(String hostName, String contextPath, String version)
| 666 | * @param version The version of the context to be cleared |
| 667 | */ |
| 668 | public void clearWelcomeFiles(String hostName, String contextPath, String version) { |
| 669 | hostName = renameWildcardHost(hostName); |
| 670 | ContextVersion contextVersion = findContextVersion(hostName, contextPath, version, false); |
| 671 | if (contextVersion == null) { |
| 672 | return; |
| 673 | } |
| 674 | contextVersion.welcomeResources = new String[0]; |
| 675 | } |
| 676 | |
| 677 | |
| 678 | /** |
no test coverage detected