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
storage= remoteState.getStorage(new SubProgressMonitor(finalMonitor, 1, SubProgressMonitor.SUPPRESS_SUBTASK_LABEL));
										} catch (CoreException exception) {
											RefactoringUIPlugin.log(exception);
										}
										if (storage != null) {
											InputStream stream= null;
											final IRefactoringHistoryService service= RefactoringCore.getRefactoringHistoryService();
											try {
												service.connect();
												stream= storage.getContents();
												final RefactoringHistory history= service.readRefactoringHistory(stream, RefactoringDescriptor.MULTI_CHANGE);
												if (history != null && !history.isEmpty()) {
													final RefactoringDescriptorProxy[] proxies= history.getDescriptors();
													for (int offset= 0; offset < proxies.length; offset++)
														incoming.add(proxies[offset]);
												}
											} catch (CoreException exception) {
												RefactoringUIPlugin.log(exception);
											} finally {
												service.disconnect();
												if (stream != null) {
													try {
														stream.close();
													} catch (IOException exception) {
														
													}
												}
											}
										}
									}