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
* @param context
	 *            the synchronization context
	 * @param project
	 *            the project to get its incoming refactorings
	 * @param monitor
	 *            the progress monitor to use, or <code>null</code>
	 * @return the refactoring history representing the incoming refactorings
	 */
	protected RefactoringHistory getIncomingRefactorings(final ISynchronizationContext context, final IProject project, IProgressMonitor monitor) {
		if (monitor == null)
			monitor= new NullProgressMonitor();
		try {
			monitor.beginTask(RefactoringUIMessages.RefactoringModelMerger_retrieving_refactorings, 12);
			final IProgressMonitor finalMonitor= monitor;
			final Set incoming= new HashSet();
			try {
				final IResourceDiffTree tree= context.getDiffTree();
				tree.accept(project.getFolder(RefactoringHistoryService.NAME_HISTORY_FOLDER).getFullPath(), new IDiffVisitor() {
					public final boolean visit(final IDiffNode node) throws CoreException {
						if (node instanceof IThreeWayDiff) {
							final IThreeWayDiff threeWay= (IThreeWayDiff) node;
							final IResource resource= tree.getResource(node);
							if (resource.getName().equals(RefactoringHistoryService.NAME_HISTORY_FILE) && resource.getType() == IResource.FILE) {
								final int direction= threeWay.getDirection();
								if (direction == IThreeWayDiff.INCOMING || direction == IThreeWayDiff.CONFLICTING) {
									final ITwoWayDiff twoWay= threeWay.getRemoteChange();
									if (twoWay instanceof IResourceDiff) {
										final IFileState remoteState= ((IResourceDiff) twoWay).getAfterState();
										IStorage storage= null;
										try {