use of org.netbeans.lib.cvsclient.command.update.UpdateFileInfo in project intellij-community by JetBrains.
the class CvsMessagesTranslator method fileInfoGenerated.
public void fileInfoGenerated(Object info) {
if (info instanceof UpdateFileInfo) {
final UpdateFileInfo updateFileInfo = (UpdateFileInfo) info;
final File file = updateFileInfo.getFile();
if (!myUpdatedFilesManager.fileIsNotUpdated(file) && !myFileToInfoMap.containsKey(file)) {
myFileToInfoMap.put(file, updateFileInfo);
}
} else if (info instanceof UpdatedFileInfo) {
final UpdatedFileInfo updatedFileInfo = (UpdatedFileInfo) info;
final File file = updatedFileInfo.getFile();
if (!myUpdatedFilesManager.fileIsNotUpdated(file)) {
myFileToInfoMap.put(file, updatedFileInfo);
}
}
}
Aggregations