return vf == null || !vf.isValid() ? null : vf;
}
public static void updateChangesForRollback(final List<Change> changes) {
updateChangesImpl(changes, RollbackChangeWrapper.ourInstance);
}
<BUG>public static void updateChanges(final List<Change> changes) {
</BUG>
updateChangesImpl(changes, DirectChangeWrapper.ourInstance);
}
<BUG>private static void updateChangesImpl(final List<Change> changes, final ChangeWrapper wrapper) {
</BUG>
Collection<File> deletedOrReplaced = ContainerUtil.newHashSet();

return vf == null || !vf.isValid() ? null : vf;
}
public static void updateChangesForRollback(final List<Change> changes) {
updateChangesImpl(changes, RollbackChangeWrapper.ourInstance);
}
public static void updateChanges(final Collection<Change> changes) {
updateChangesImpl(changes, DirectChangeWrapper.ourInstance);
}
private static void updateChangesImpl(final Collection<Change> changes, final ChangeWrapper wrapper) {
Collection<File> deletedOrReplaced = ContainerUtil.newHashSet();
