Bug 125148 Cleanup of Team content provider
I made a change in the SynchronizationContentProvider that allows the AbstractRefactoringSynchronizationContentProvider to be cleaned up a bit *I will attach a patch). The change involves how a listener gets registered (i.e. it is now done byu the superclass) so there is no change in behavior associated with this fix. It is strickly code hygien.
org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/ui/refactoring/model/AbstractRefactoringSynchronizationContentProvider.java
}
							}
						}
						return true;
					}
				}, IResource.DEPTH_INFINITE);
			} catch (CoreException exception) {
				RefactoringUIPlugin.log(exception);
			}
			final RefactoringHistory history= RefactoringCore.getRefactoringHistoryService().getProjectHistory(project, new SubProgressMonitor(monitor, 2, SubProgressMonitor.SUPPRESS_SUBTASK_LABEL));
			final RefactoringDescriptorProxy[] descriptors= history.getDescriptors();
			for (int index= 0; index < descriptors.length; index++)
				incoming.remove(descriptors[index]);
			final RefactoringDescriptorProxy[] proxies= new RefactoringDescriptorProxy[incoming.size()];
			incoming.toArray(proxies);
			return new RefactoringHistoryImplementation(proxies);
		} finally {
			monitor.done();
		}
	}
	/**
	 * {@inheritDoc}
	 */
	public void init(final IExtensionStateModel model, final IMemento memento) {
		super.init(model, memento);
		final ISynchronizationContext context= getContext();
		if (context != null)
			context.getDiffTree().addDiffChangeListener(this);
	}
}