From 544e1eecf1a1de33e84d28a04b1a32fe0fc3d2f3 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Mon, 31 May 2010 22:55:45 +0000 Subject: [PATCH] Javadoc adjustment. --- .../internal/ui/editor/AddIncludeOnSelectionAction.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/AddIncludeOnSelectionAction.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/AddIncludeOnSelectionAction.java index cf2699c5541..2f5dfef0e0d 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/AddIncludeOnSelectionAction.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/AddIncludeOnSelectionAction.java @@ -202,9 +202,11 @@ public class AddIncludeOnSelectionAction extends TextEditorAction { } /** - * Extract the includes for the given selection. This can be both used to perform + * Extracts the includes for the given selection. This can be both used to perform * the work as well as being invoked when there is a change. - * @param index + * @param selection a text selection. + * @param ast an AST. + * @param lookupName a one-element array used to return the selected name. */ private void deduceInclude(ITextSelection selection, IASTTranslationUnit ast, String[] lookupName) throws CoreException { @@ -251,7 +253,6 @@ public class AddIncludeOnSelectionAction extends TextEditorAction { } } - for (IIndexBinding indexBinding : bindings) { // Replace ctor with the class itself. if (indexBinding instanceof ICPPConstructor) { @@ -653,7 +654,7 @@ public class AddIncludeOnSelectionAction extends TextEditorAction { } /** - * Get the fully qualified name for a given index binding. + * Returns the fully qualified name for a given index binding. * @param binding * @return binding's fully qualified name * @throws CoreException