protected void failedToCleanupDir ( final File file ) { checkForGarbageOnRestart = true ; PatchLogger . ROOT_LOGGER . cannotDeleteFile ( file . getAbsolutePath ( ) ) ; }
In case we cannot delete a directory create a marker to recheck whether we can garbage collect some not referenced directories and files .