diff options
Diffstat (limited to 'bundles/org.eclipse.compare/compare/org/eclipse/compare/structuremergeviewer/SharedDocumentAdapterWrapper.java')
-rw-r--r-- | bundles/org.eclipse.compare/compare/org/eclipse/compare/structuremergeviewer/SharedDocumentAdapterWrapper.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.compare/compare/org/eclipse/compare/structuremergeviewer/SharedDocumentAdapterWrapper.java b/bundles/org.eclipse.compare/compare/org/eclipse/compare/structuremergeviewer/SharedDocumentAdapterWrapper.java index f5e322302..fdac1f88a 100644 --- a/bundles/org.eclipse.compare/compare/org/eclipse/compare/structuremergeviewer/SharedDocumentAdapterWrapper.java +++ b/bundles/org.eclipse.compare/compare/org/eclipse/compare/structuremergeviewer/SharedDocumentAdapterWrapper.java @@ -28,18 +28,18 @@ import org.eclipse.ui.texteditor.IDocumentProvider; */ public class SharedDocumentAdapterWrapper implements ISharedDocumentAdapter { private ISharedDocumentAdapter wrappedAdapter; - + /** * Helper method that returns the shared document adapter for the * given typed element or <code>null</code> if there isn't one. * @param element the typed element - * @return the shared document adapter for the given typed element + * @return the shared document adapter for the given typed element * or <code>null</code> */ public static ISharedDocumentAdapter getAdapter(Object element) { return Adapters.adapt(element, ISharedDocumentAdapter.class); } - + /** * Creates a shared document adapter that wraps the given adapter. * @param wrappedAdapter the wrapped adapter @@ -48,7 +48,7 @@ public class SharedDocumentAdapterWrapper implements ISharedDocumentAdapter { super(); this.wrappedAdapter = wrappedAdapter; } - + @Override public void connect(IDocumentProvider provider, IEditorInput documentKey) throws CoreException { |