From 25b1d6d57ee518f49bc39d840ebeab326d85cfc3 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Sun, 3 Jan 2016 17:18:31 -0800 Subject: [PATCH] Adjusted JavaDoc. --- .../org/eclipse/cdt/internal/core/pdom/dom/PDOMBinding.java | 5 +++-- .../core/pdom/dom/cpp/IPDOMCPPTemplateParameter.java | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/PDOMBinding.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/PDOMBinding.java index 844e149cedd..e3f685981f1 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/PDOMBinding.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/PDOMBinding.java @@ -436,9 +436,10 @@ public abstract class PDOMBinding extends PDOMNamedNode implements IPDOMBinding } /** - * The binding is reused by a declaration or definition, we may need to update modifiers. + * The binding is reused by a declaration or definition, update the binding, e.g. modifiers, + * with the new information. + * * @param point the point of instantiation for name lookups - * @throws CoreException */ public void update(PDOMLinkage linkage, IBinding newBinding, IASTNode point) throws CoreException { } diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/cpp/IPDOMCPPTemplateParameter.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/cpp/IPDOMCPPTemplateParameter.java index c239b526fec..b809f4780bd 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/cpp/IPDOMCPPTemplateParameter.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/cpp/IPDOMCPPTemplateParameter.java @@ -21,7 +21,6 @@ import org.eclipse.core.runtime.CoreException; * Interface for template parameters stored in the index. */ public interface IPDOMCPPTemplateParameter extends IInternalPDOMNode, ICPPTemplateParameter { - IPDOMCPPTemplateParameter[] EMPTY_ARRAY = {}; /** @@ -30,6 +29,9 @@ public interface IPDOMCPPTemplateParameter extends IInternalPDOMNode, ICPPTempla */ void configure(ICPPTemplateParameter templateParameter); + /** + * @see org.eclipse.cdt.internal.core.pdom.dom.PDOMBinding#update(PDOMLinkage, IBinding, IASTNode) + */ void update(PDOMLinkage linkage, IBinding newBinding, IASTNode point) throws CoreException; /**