if( jarEntryContents.containsKey( resource ) ) {
if( logger.isTraceEnabled() )
logger.trace( "Removing resource " + resource );
jarEntryContents.remove( resource );
} else {
throw new ResourceNotFoundException( resource, "Resource not found in local ClasspathResources" );
}
}