Pair<URL, Deployer> pair = entry.getKey();
if (!fileExists(pair.getA()))
{
try
{
Deployer deployer = entry.getValue().deployer;
FileDeploymentManager.log.debug("Undeploying " + deployer + " with url " + pair.getA());
deployer.undeploy(pair.getA());
toRemove.add(pair);
}
catch (Exception e)
{
FileDeploymentManager.log.error("Error undeploying " + pair.getA(), e);