protected void migrateTasks(IProgressMonitor monitor) {
tasksState.getTaskActivityManager().deactivateActiveTask();
for (Entry<TaskRepository, TaskRepository> entry : repositories.entrySet()) {
TaskRepository oldRepository = entry.getKey();
TaskRepository newRepository = entry.getValue();
<BUG>monitor.subTask("Migrating tasks for " + newRepository);
AbstractRepositoryConnector newConnector = getRepositoryManager()</BUG>
.getRepositoryConnector(newRepository.getConnectorKind());
Set<ITask> tasksToMigrate = Sets.filter(getTaskList().getTasks(oldRepository.getRepositoryUrl()),
isTaskForConnector(oldRepository.getConnectorKind()));

protected void migrateTasks(IProgressMonitor monitor) {
tasksState.getTaskActivityManager().deactivateActiveTask();
for (Entry<TaskRepository, TaskRepository> entry : repositories.entrySet()) {
TaskRepository oldRepository = entry.getKey();
TaskRepository newRepository = entry.getValue();
monitor.subTask(NLS.bind(Messages.ConnectorMigrator_Migrating_tasks_for_X, newRepository));
AbstractRepositoryConnector newConnector = getRepositoryManager()
.getRepositoryConnector(newRepository.getConnectorKind());
Set<ITask> tasksToMigrate = Sets.filter(getTaskList().getTasks(oldRepository.getRepositoryUrl()),
isTaskForConnector(oldRepository.getConnectorKind()));
