Update performance

This commit is contained in:
Olesya Smirnova
2005-02-15 20:23:17 +03:00
parent 8710091d7a
commit 77349b7883
@@ -241,9 +241,7 @@ public class AbstractCommonUpdateAction extends AbstractVcsAction {
UpdateEnvironment updateEnvironment = myActionInfo.getEnvironment(vcs);
if (updateEnvironment != null) {
if (!result.containsKey(updateEnvironment)) result.put(updateEnvironment, new HashSet<FilePath>());
if (vcs.fileIsUnderVcs(file)) {
result.get(updateEnvironment).add(file);
}
result.get(updateEnvironment).add(file);
}
}
}