Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorSergey Prigogin2010-05-31 22:55:45 +0000
committerSergey Prigogin2010-05-31 22:55:45 +0000
commit544e1eecf1a1de33e84d28a04b1a32fe0fc3d2f3 (patch)
tree2ef335cbf6b3f144fd547645cd7d68c6cbed6b2c /core
parentb1ad4e2fb07848987b4e9fa25964cded69f12250 (diff)
downloadorg.eclipse.cdt-544e1eecf1a1de33e84d28a04b1a32fe0fc3d2f3.tar.gz
org.eclipse.cdt-544e1eecf1a1de33e84d28a04b1a32fe0fc3d2f3.tar.xz
org.eclipse.cdt-544e1eecf1a1de33e84d28a04b1a32fe0fc3d2f3.zip
Javadoc adjustment.
Diffstat (limited to 'core')
-rw-r--r--core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/AddIncludeOnSelectionAction.java9
1 files 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

Back to the top