void (VirtualFile each) { DocumentReference ref = SoftReference.dereference(each.getUserData(FILE_TO_REF_KEY)); each.putUserData(FILE_TO_REF_KEY, null); if (ref != null) { myDeletedFilePathToRef.put(new FilePath(each.getUrl()), ref); } }