Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 156023

Summary: ASTMember setComments is unimplemented
Product: [Modeling] EMF Reporter: Alain Picard <picard>
Component: ToolsAssignee: Dave Steinberg <davidms>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 2.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Alain Picard CLA 2006-09-01 22:21:29 EDT
The setComments method in ASTMember is unimplemented contrary to the JDOM implementation and doesn't even raise an exception to warn unsuspecting users.

Here is the code in org.eclipse.emf.codegen.merge.java.facade.ast.ASTJMember:
  public void setComment(String comment)
  {
  }

Please at least through something like a "Not Implemented" exception if some parts are not complete and functional.
Comment 1 Ed Merks CLA 2006-09-02 08:13:33 EDT
It's simply not and is not intended to be used yet.

*** This bug has been marked as a duplicate of 124372 ***